DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
creating a 2d array in js
var x = new Array(10); for (var i = 0; i < x.length; i++) { x[i] = new Array(3); } console.log(x);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#creating
#array
#js
ADD COMMENT
Topic
COMMENT
Name
5+9 =
Submit