MCPcopy Create free account
hub / github.com/TruthHun/BookStack / toArray

Function toArray

static/vuejs/vue.js:141–149  ·  view source on GitHub ↗

* Convert an Array-like object to a real Array.

(list, start)

Source from the content-addressed store, hash-verified

139 * Convert an Array-like object to a real Array.
140 */
141function toArray (list, start) {
142 start = start || 0;
143 var i = list.length - start;
144 var ret = new Array(i);
145 while (i--) {
146 ret[i] = list[i + start];
147 }
148 return ret
149}
150
151/**
152 * Mix properties into target object.

Callers 2

eventsMixinFunction · 0.70
initUseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected