Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create array of numbers javascript

for(var i,a=[i=0];i<10;a[i++]=i);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #array #numbers #javascript
ADD COMMENT
Topic
Name
4+1 =