MCPcopy Create free account
hub / github.com/idank/explainshell / d3_arrayCopy

Function d3_arrayCopy

explainshell/web/static/js/d3.v3.js:457–461  ·  view source on GitHub ↗
(pseudoarray)

Source from the content-addressed store, hash-verified

455 }
456 var d3_array = d3_arraySlice;
457 function d3_arrayCopy(pseudoarray) {
458 var i = -1, n = pseudoarray.length, array = [];
459 while (++i < n) array.push(pseudoarray[i]);
460 return array;
461 }
462 function d3_arraySlice(pseudoarray) {
463 return Array.prototype.slice.call(pseudoarray);
464 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected