title: Javascript multidimensional array, moving its value
body: <p>I would like to move array cells right,left,top,up. I will try to show that on example.</p>
  
  <pre><code>var ar = [ [1, 2, 3], [4, 5, 6], [7, 8, 9]];
  </code></pre>
  
  <p>its like [0][0] is 1 // [0][1] is 2 // [0][2] is 3 ... [2][2] is 9</p>
  
  <p>I am looking for possibility to move their value, this way:
  [0][0] will be undefined // [0][1] will be 1  // [0][2] will be 2 ... [2][2] will be 8.</p>
  
  <p>I would like that [X][Y][Z] X will be at Y place, Y will be at Z place, Z will create next cell.</p>
  
  <p>I am sorry if I explained this bad, its my first question here. Thanks all for help anyway.</p>