title: Why can't I do array[-1] in JavaScript?
body: <p>In Python, you can do that:</p>
  
  <pre><code>arr = [1,2,3]
  arr[-1] // evaluates to 3
  </code></pre>
  
  <p>But in JS, you can't:</p>
  
  <pre><code>let arr = [1,2,3];
  arr[-1]; // evaluates to undefined
  </code></pre>
  
  <p>The question is: <strong><em>why?</em></strong></p>
  
  <p>I know about the tricks to get around it (<code>arr[arr.length-1]</code>, modifying the array prototype, etc), but that is not the point.</p>
  
  <p>I'm trying to understand why it is still not in the EcmaScript standards to interpret negative array indices as indices starting from the end, despite that it seems pretty easy to implement a JS engine that understands that (and also, the whole Python community is having a blast with this notation).</p>
  
  <p>What am I missing?</p>