title: Getting specified range of an array in Nunjucks
body: <pre><code>{% set array = [0,1,2,3,4,5,6,7,8,9] %}
  </code></pre>
  <p>I want a range of this array. Just like this:</p>
  <p><code>[2,3,4,5]</code></p>
  <p>In javascript, It it so easy to be done with <code>slice</code> fn. But in Nunjucks, slice works different. I don't know how to take a range of this array.</p>