aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 30fc1238..9a0be306 100644
--- a/README.md
+++ b/README.md
@@ -1260,3 +1260,10 @@ To allow for better optimizations, the compiler makes various assumptions:
// TypeError: can't convert BigInt to number
```
UglifyJS may modify the input which in turn may suppress those errors.
+- Some versions of JavaScript will throw `SyntaxError` with the
+ following:
+ ```javascript
+ console.log(String.raw`\uFo`);
+ // SyntaxError: Invalid Unicode escape sequence
+ ```
+ UglifyJS may modify the input which in turn may suppress those errors.