I trying to set value in 3d javascript array...
var a = [];
var b = [];
var c = [];
var array = [a,b,c];
array[0][0][0] = 'value';
This code return error: "Cannot set property '0' of undefined" but 2d array working normally:
var a = [];
var b = [];
var array = [a,b];
array[0][0] = 'value';
[a,b,c]is simply an array with three elements? Imagine it would be[1, 2, 3].