title: What does array[1..-2] mean?
body: <p>I've come across a code snippet where index access is defined with a range ending with a minus value. </p>
  
  <pre><code>array[1..-2]
  </code></pre>
  
  <p>What's the purpose of this?</p>