aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9cecfcf4..30fc1238 100644
--- a/README.md
+++ b/README.md
@@ -1254,3 +1254,9 @@ To allow for better optimizations, the compiler makes various assumptions:
}()) => b)());
```
UglifyJS may modify the input which in turn may suppress those errors.
+- Some arithmetic operations with `BigInt` may throw `TypeError`:
+ ```javascript
+ 1n + 1;
+ // TypeError: can't convert BigInt to number
+ ```
+ UglifyJS may modify the input which in turn may suppress those errors.