Allow empty destructuring (#1773)
This commit is contained in:
committed by
Alex Lam S.L
parent
35bae3fcd0
commit
17f0cc359f
@@ -314,11 +314,13 @@ default_assign: {
|
||||
function f(a, b = 3) {
|
||||
console.log(a);
|
||||
}
|
||||
g = ([[] = 123]) => {};
|
||||
}
|
||||
expect: {
|
||||
function f(a) {
|
||||
console.log(a);
|
||||
}
|
||||
g = ([[] = 123]) => {};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user