suppress false positives in ufuzz (#4419)

This commit is contained in:
Alex Lam S.L
2020-12-19 18:31:09 +00:00
committed by GitHub
parent 882968c68c
commit 2c9c72e06c
2 changed files with 15 additions and 8 deletions

View File

@@ -1217,3 +1217,13 @@ To allow for better optimizations, the compiler makes various assumptions:
// SyntaxError: Identifier 'a' has already been declared
```
UglifyJS may modify the input which in turn may suppress those errors.
- Later versions of JavaScript will throw `SyntaxError` with the following:
```js
try {
// ...
} catch ({ message: a }) {
var a;
}
// SyntaxError: Identifier 'a' has already been declared
```
UglifyJS may modify the input which in turn may suppress those errors.