Skip to content

Commit 3fde4c3

Browse files
committed
Add assignment pattern tests.
Reviewed by @tolmasky.
1 parent c3eccef commit 3fde4c3

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
function x(a = { a: 6 }, b = null, ...d) {
2+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
function x(a={a:6},b=null,...d){}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function x(a={a:6}, b=null, ...d)
2+
{
3+
}

0 commit comments

Comments
 (0)