diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2021-02-08 20:28:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 04:28:23 +0800 |
commit | e13d1e996909f68ee643df17fd7d87773c3e82a5 (patch) | |
tree | b519e7a0cd2c3150de25964aaa3399be135eaa7a /README.md | |
parent | aedc1e7fc9cab772734d559e149c0b4f70454321 (diff) | |
download | tracifyjs-e13d1e996909f68ee643df17fd7d87773c3e82a5.tar.gz tracifyjs-e13d1e996909f68ee643df17fd7d87773c3e82a5.zip |
support `for [await]...of` statements (#4627)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1272,3 +1272,12 @@ To allow for better optimizations, the compiler makes various assumptions: // SyntaxError: Invalid Unicode escape sequence ``` UglifyJS may modify the input which in turn may suppress those errors. +- Some versions of JavaScript will throw `SyntaxError` with the + following: + ```javascript + try {} catch (e) { + for (var e of []); + } + // SyntaxError: Identifier 'e' has already been declared + ``` + UglifyJS may modify the input which in turn may suppress those errors. |