mirror of https://github.com/sveltejs/svelte
parent
1a41f8bddd
commit
844c89dce6
@ -1,3 +1,3 @@
|
||||
{#each todos as todo key todo.id}
|
||||
{#each todos as todo (todo.id)}
|
||||
<p>{todo}</p>
|
||||
{/each}
|
||||
|
@ -0,0 +1,3 @@
|
||||
{#each todos as todo, i (todo.id)}
|
||||
<p>{i+1}: {todo.description}</p>
|
||||
{/each}
|
Loading…
Reference in new issue