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

Function toArray

static/vuejs/vue.runtime.esm.js:135–143  ·  view source on GitHub ↗

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

(list, start)

Source from the content-addressed store, hash-verified

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

Callers 2

eventsMixinFunction · 0.70
initUseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected