mirror of https://github.com/sveltejs/svelte
Merge pull request #2326 from sveltejs/gh-2325
skip array literal length optimization in presence of spreadpull/2341/head
commit
eb2f0cc245
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: `<div>a</div> <div>b</div> <div>c</div>`
|
||||
};
|
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
const foo = ['a', 'b', 'c'];
|
||||
</script>
|
||||
|
||||
{#each [...foo] as item}
|
||||
<div>{item}</div>
|
||||
{/each}
|
Loading…
Reference in new issue