title: Uncaught TypeError: Cannot set property '203' of undefined
body: <pre><code>    var wins = [] ;
      for(var i=0; i&lt;11; i++){
          wins[i] = [] ;
          for(var j=0;j&lt;11; j++){
          wins[i][j] = [] ;}}
  
      var count = [] ;
  
      for(var i=0; i&lt;11; i++){
          for(var j=0; j&lt;7; j++){
              for(var k=0; k&lt;5; k++){
  
              wins[i][j+k][count] = true;
      }
      count++ ;
  }}
  
      for(var i=0; i&lt;11; i++){
          for(var j=0; j&lt;7; j++){
              for(var k=0; k&lt;5; k++){
                  wins[j+k][i][count] = true;
      }
      count++ ;
  }}
  
      for(var i=0; i&lt;7; i++){
          for(var j=0; j&lt;7; j++){
              for(var k=0; k&lt;5; k++){
                  wins[i+k][j+k][count] = true;
              }
              count++ ;
          }
      }
  
      for(var i=0; i&lt;7; i++){
          for(var j=14; j&gt;3; j--){
              for(var k=0; k&lt;5; k++){
                  wins[i+k][j-k][count] = true;
              }
              count++ ;
          } }
  </code></pre>
  
  <p>i get the error Uncaught TypeError: Cannot set property '203' of undefined.
  how  can i fix it?
  i get error in last for loop.
  i'm newbie in java script.</p>