Skip to content

Commit 0069118

Browse files
committed
test: add tests for object destructuring with default values in "each" blocks
1 parent 4160985 commit 0069118

File tree

4 files changed

+1711
-1
lines changed

4 files changed

+1711
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{#each x as { y = 'z' }}{/each}
2+
3+
{#each x as { y = '{' }}{/each}
4+
5+
{#each x as { y = ']' }}{/each}
6+
7+
{#each x as { y = `${`"`}` }}{/each}
8+
9+
{#each x as { y = `${`John`}` }}{/each}

0 commit comments

Comments
 (0)