diff options
Diffstat (limited to 'test/input/reduce/destructured_catch.reduced.js')
-rw-r--r-- | test/input/reduce/destructured_catch.reduced.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/input/reduce/destructured_catch.reduced.js b/test/input/reduce/destructured_catch.reduced.js new file mode 100644 index 00000000..c7a6736d --- /dev/null +++ b/test/input/reduce/destructured_catch.reduced.js @@ -0,0 +1,15 @@ +// (beautified) +try { + 1 in 0; +} catch ({ + message: message +}) { + console.log(message); +} +// output: Cannot use 'in' operator to search for '1' in 0 +// +// minify: Cannot use 'in' operator to search for '0' in 0 +// +// options: { +// "mangle": false +// }
\ No newline at end of file |