DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript fill array
const fill = new Array(5).fill(0) console.log(fill) // [ 0,0,0,0,0]
PREVIOUS
NEXT
Tagged:
#javascript
#fill
#array
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit