2-d array in javascript

0 views
Skip to first unread message

Girish

unread,
Nov 13, 2007, 10:09:29 AM11/13/07
to Principles of Programming with JavaScript
Implementation of a simple 2-D array c[3][2] in javscript

function array(){
c = new Array(3);
for (var i = 0; i < 3; i++) {
c[i] = new Array(2);
}
}


With Regards
Girish

Reply all
Reply to author
Forward
0 new messages