DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js create array with n elements
var foo = new Array(100).fill('DefaultValue');
PREVIOUS
NEXT
Tagged:
#js
#create
#array
#elements
ADD COMMENT
Topic
COMMENT
Name
5+9 =
Submit