aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-12-19 18:31:09 +0000
committerGitHub <noreply@github.com>2020-12-20 02:31:09 +0800
commit2c9c72e06c674ae313001d0b5878fe2ccfc31492 (patch)
tree3404f83634dbc9c6a2419cb5dded1f72b5940b05 /README.md
parent882968c68c79a0f285d59f4b7ea50a62dc9ba1b6 (diff)
downloadtracifyjs-2c9c72e06c674ae313001d0b5878fe2ccfc31492.tar.gz
tracifyjs-2c9c72e06c674ae313001d0b5878fe2ccfc31492.zip
suppress false positives in `ufuzz` (#4419)
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4753b4c2..c23116bd 100644
--- a/README.md
+++ b/README.md
@@ -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.