Thursday, April 19, 2007

JS 3d arrays

To use multi-dimensional arrays in js, we have to define it as an array at each dimension. -
eg:

abc['test1'] = new Array();
abc['test1'][test2'] = new Array();
abc['test1'][test2']['test3'] = new Array();

No comments: