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

Function toArray

static/vuejs/vue.runtime.common.js:137–145  ·  view source on GitHub ↗

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

(list, start)

Source from the content-addressed store, hash-verified

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

Callers 2

eventsMixinFunction · 0.70
initUseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected