MCPcopy
hub / github.com/jasondavies/d3-cloud / zeroArray

Function zeroArray

index.js:391–396  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

389
390// TODO reuse arrays?
391function zeroArray(n) {
392 var a = [],
393 i = -1;
394 while (++i < n) a[i] = 0;
395 return a;
396}
397
398function cloudCanvas() {
399 return document.createElement("canvas");

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…