title: Public array is not accessable in js class
body: <p>here's a part of the class :</p>
  
  <pre><code>function Table(seats){
      //editables
          var leaveTable_position=new Array('380','0','102','20');
  
      //runtime
          Table.id=0;
          Table.max_buy=0;
          Table.min_buy=0;
          Table.player_timeout=0;
  
      //on creation
          Table.seat=new Array();
          if (seats&lt;5){seats=5;}
          if (seats&gt;5){seats=9;}
          for (var i=1 ; i&lt;=seats ; i++){
              Table.seat[i]=new Seat(i);
              Table.seat[i].create();
          }}
  </code></pre>
  
  <p>you see the Table.seat public array ?
  assuming i have 3 seats (table.seat[0]; table.seat[2];) ...</p>
  
  <p>the following code gives me 'seat is undefined' !!!</p>
  
  <pre><code>table=new Table();
  table.seat[2].getUser();
  </code></pre>
  
  <p>any ideas why ? am not that good in js oop !</p>