MCPcopy Create free account
hub / github.com/microsoft/SandDance / __spread

Function __spread

docs/app/js/sanddance-app.js:20375–20378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20373 return ar;
20374}
20375function __spread() {
20376 for(var ar = [], i = 0; i < arguments.length; i++)ar = ar.concat(__read(arguments[i]));
20377 return ar;
20378}
20379function __spreadArrays() {
20380 for(var s = 0, i = 0, il = arguments.length; i < il; i++)s += arguments[i].length;
20381 for(var r = Array(s), k = 0, i = 0; i < il; i++)for(var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)r[k] = a[j];

Callers

nothing calls this directly

Calls 1

__readFunction · 0.85

Tested by

no test coverage detected