var outer = new Array();
var inner = new Array();
inner[0] = "target";
outer[0] = inner;
So in Javascript whats the correct syntax to access the string target?
var target = outer[0][0]; //correct
or sth. like
var target = outer[0].[0]; //false don´t use
To access an array you need to use
The dot notation you seem to be confusing in your second suggestion is used to access object properties. So if you would have
you would use
outer.item.itemto access"target".