title: How to remove all the odd indexes (eg: a[1],a[3]..) value from the array
body: <p>I have an array like <code>var aa = ["a","b","c","d","e","f","g","h","i","j","k","l"];</code> I wanted to remove element which is place on even index. so ouput will be line <code>aa = ["a","c","e","g","i","k"];</code></p>
  
  <p>I tried in this way </p>
  
  <pre><code>for (var i = 0; aa.length; i = i++) {
  if(i%2 == 0){
      aa.splice(i,0);
  }
  };
  </code></pre>
  
  <p>But it is not working.</p>