MCPcopy
hub / github.com/csev/py4e / zeroArray

Function zeroArray

code/gmane/d3.layout.cloud.js:369–374  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

367
368 // TODO reuse arrays?
369 function zeroArray(n) {
370 var a = [],
371 i = -1;
372 while (++i < n) a[i] = 0;
373 return a;
374 }
375
376 var cloudRadians = Math.PI / 180,
377 cw = 1 << 11 >> 5,

Callers 1

cloudFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected