mirror of https://github.com/sveltejs/svelte
9 lines
110 B
9 lines
110 B
6 years ago
|
<script>
|
||
|
export let names = ['John', 'Jill'];
|
||
|
</script>
|
||
|
|
||
|
{#each names as name (name)}
|
||
|
{@html name}
|
||
|
{/each}
|
||
|
|