Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript array of zeros of n length

let a = new Array(n); for (let i=0; i<n; ++i) a[i] = 0;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #array #zeros #length
ADD COMMENT
Topic
Name
3+4 =