Improve support for binding pattern
Including improvements for parameters, variable assignment and catch parameter.
This commit is contained in:
9
test/compress/try-catch.js
Normal file
9
test/compress/try-catch.js
Normal file
@@ -0,0 +1,9 @@
|
||||
catch_destructuring_with_sequence: {
|
||||
input: {
|
||||
try {
|
||||
throw {};
|
||||
} catch ({xCover = (0, function() {})} ) {
|
||||
}
|
||||
}
|
||||
expect_exact: "try{throw{}}catch({xCover=(0,function(){})}){}"
|
||||
}
|
||||
Reference in New Issue
Block a user