sonder dla pętli dla indeksu

{#each {length: 3} as _, i}
    <li>{i + 1}</li>
{/each}
Lucky Lobster