I've got an array which has two levels (sorry if that's the wrong terminology) and I can access the first level but I want to go another level down.
Could someone point me in the right direction so I can access that data and output it?
Fiddle here - https://jsfiddle.net/ep2Lqzum/
var myStringArray = [
["a", "b", "c"],
["d", "e", "f"]
];
var arrayLength = myStringArray.length;
for (var i = 0; i < arrayLength; i++) {
console.log(myStringArray[i]);
}
myStringArray[i][0])it would in your case selectaandddimension. You have a 2-dimensional array - it can be n-dimensional.