DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to create empty two dimensional array in javascript
var value = 'foo'; // by default var myGrid = [...Array(6)].map(e => Array(6).fill(value));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#create
#empty
#dimensional
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit