Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/SandDance
/ zeroArray
Function
zeroArray
docs/tests/v2/es6/js/sanddance.js:125608–125615 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
125606
125607
125608
function
zeroArray(n) {
125609
var
a = [],
125610
i = -1;
125611
125612
while
(++i < n) a[i] = 0;
125613
125614
return
a;
125615
}
125616
125617
function
functor(d) {
125618
return
typeof d ===
"function"
? d :
function
() {
Callers
1
_default
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected