10 lines
113 B

<script>
const arr = [1, 2, 3];
</script>
{#each arr as item ((() => item)())}
<div>
{item}
</div>
{/each}