<script>
	const array = [1, 2, 3, 1];
</script>

{#each array as item (item)}
	{item}
{/each}
