mirror of https://github.com/sveltejs/svelte
add each-block-keyed-iife test against regression (#3436)
parent
daf4b465e6
commit
577333e180
@ -0,0 +1,7 @@
|
|||||||
|
export default {
|
||||||
|
html: `
|
||||||
|
<div>1</div>
|
||||||
|
<div>2</div>
|
||||||
|
<div>3</div>
|
||||||
|
`
|
||||||
|
};
|
@ -0,0 +1,9 @@
|
|||||||
|
<script>
|
||||||
|
const arr = [1, 2, 3];
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{#each arr as item ((() => item)())}
|
||||||
|
<div>
|
||||||
|
{item}
|
||||||
|
</div>
|
||||||
|
{/each}
|
Loading…
Reference in new issue