Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript init an array to 0

new Array(len).fill(0);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #init #array
ADD COMMENT
Topic
Name
1+1 =