aboutsummaryrefslogtreecommitdiff
path: root/test/input/reduce/destructured_catch.reduced.js
blob: 1979b99db7c3670783a4e92fe20670fe4bca92cb (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// (beautified)
try {
    1 in 0;
} catch (message) {
    console.log(message);
}
// output: TypeError: Cannot use 'in' operator to search for '1' in 0
// 
// minify: TypeError: Cannot use 'in' operator to search for '0' in 0
// 
// options: {
//   "mangle": false
// }