title: How to get index in Handlebars each helper?
body: <p>I'm using Handlebars for templating in my project. Is there a way to get the index of the current iteration of an "each" helper in Handlebars?</p>
  
  <pre><code>&lt;tbody&gt;
       {{#each item}}
           &lt;tr&gt;
              &lt;td&gt;&lt;!--HOW TO GET ARRAY INDEX HERE?--&gt;&lt;/td&gt;
              &lt;td&gt;{{this.key}}&lt;/td&gt;
              &lt;td&gt;{{this.value}}&lt;/td&gt;
           &lt;/tr&gt;
       {{/each}}
  &lt;/tbody&gt;
  </code></pre>