diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-12-19 18:31:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 02:31:09 +0800 |
commit | 2c9c72e06c674ae313001d0b5878fe2ccfc31492 (patch) | |
tree | 3404f83634dbc9c6a2419cb5dded1f72b5940b05 /README.md | |
parent | 882968c68c79a0f285d59f4b7ea50a62dc9ba1b6 (diff) | |
download | tracifyjs-2c9c72e06c674ae313001d0b5878fe2ccfc31492.tar.gz tracifyjs-2c9c72e06c674ae313001d0b5878fe2ccfc31492.zip |
suppress false positives in `ufuzz` (#4419)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. |