title: Remove all items after an index
body: <p>I have an array:</p>
  
  <pre><code>array = ['mario','luigi','kong']
  </code></pre>
  
  <p>I call its <strong>splice</strong> function to remove all items <strong>before an index</strong>:</p>
  
  <pre><code>array.splice(1) //-&gt; ['luigi','kong']
  </code></pre>
  
  <p>I'm just wondering if there is a function similar to <strong>splice</strong> to remove all items <strong>after an index</strong>:</p>
  
  <p><em>pseudo code</em></p>
  
  <pre><code>array.mirrorsplice(1) //-&gt; ['mario','luigi']
  </code></pre>