javascript: how to call variable instance inside variable?
<p>I am trying to make something like this:</p>

<pre><code>var Test = 
{
    A:function()
    {
     array = new Array();
     array[0] = new Array("1","2","3");
     array[1] = new Array("Name","Age","blabla");
    },

    B: function()
    {
      var c = new this.A();
      alert(c);   //output:: object Object
      alert(c.array[1]); // output:: undefined
      alert(c.array[1][0]); // output undefined
    }    
}
</code></pre>

<p>how can i get alerted for example alert(c.array[1][0]) with output "Name".
usually in other languages its possible to use methodes from inherited classes but in javascript. i think(hope) it's possible, but how?</p>

<p>Painkiller </p>
