{#each Array(dots) as dot, i}
(currentIndex = i)} /> {/each}