aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-01-24 21:48:51 +0000
committerGitHub <noreply@github.com>2021-01-25 05:48:51 +0800
commit9d23ba0a22fe3d1561b7860dc3aefadef72a4514 (patch)
tree65f50c3437c930692d6ecfb87afcdc357ab4b16a /README.md
parenta08d42555ac42ad1e9bf4b13f44ac46c5bb2dab4 (diff)
downloadtracifyjs-9d23ba0a22fe3d1561b7860dc3aefadef72a4514.tar.gz
tracifyjs-9d23ba0a22fe3d1561b7860dc3aefadef72a4514.zip
support exponentiation operator (#4593)
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.