MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / __spreadArrays

Function __spreadArrays

Apps/BabylonScripts/babylonjs.materials.js:270–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

268}
269
270function __spreadArrays() {
271 for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
272 for (var r = Array(s), k = 0, i = 0; i < il; i++)
273 for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
274 r[k] = a[j];
275 return r;
276};
277
278function __await(v) {
279 return this instanceof __await ? (this.v = v, this) : new __await(v);

Callers

nothing calls this directly

Calls 1

ArrayClass · 0.85

Tested by

no test coverage detected