title: How to pass a variable in array index
body: <p>i repeat the title because everything is there : How to pass a variable in array index</p>
  
  <pre><code>var xyz = 0;
  var somearray = ['a','b','c'];
  var content = somearray[xyz]; - **that dont work !**
  </code></pre>
  
  <p>what should be the RIGHT way to do that ?</p>