Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create array in javascript contains 10 elements

// create an array with length 7
[...Array(7).keys()]
 
PREVIOUS NEXT
Tagged: #create #array #javascript #elements
ADD COMMENT
Topic
Name
4+3 =