Javascript acces array element inside an array of arrays
    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];

or sth. like

    var target = outer[0].[0];
Javascript acces array element inside an array of arrays
===

    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];

or sth. like

    var target = outer[0].[0];