{#each animals as animal, i}

{i}: {animal}

{/each}