aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-03-02 11:22:09 +0800
committerGitHub <noreply@github.com>2018-03-02 11:22:09 +0800
commita75a046abbc1f93fbb2235c99a1fc1d543faf9e9 (patch)
tree96b5276f6ae63de5038ee133bd30633e80743bc2 /README.md
parent38f2b4579fc2c8f7fa4e31b544dc93be9dcb031e (diff)
downloadtracifyjs-a75a046abbc1f93fbb2235c99a1fc1d543faf9e9.tar.gz
tracifyjs-a75a046abbc1f93fbb2235c99a1fc1d543faf9e9.zip
compress `arguments[index]` (#2967)
- always replace with existing parameter - only introduce new parameter if `keep_fargs` is disabled
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index e754e0bc..47fabea1 100644
--- a/README.md
+++ b/README.md
@@ -598,6 +598,9 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u
## Compress options
+- `arguments` (default: `true`) -- replace `arguments[index]` with function
+ parameter name whenever possible.
+
- `booleans` (default: `true`) -- various optimizations for boolean context,
for example `!!a ? b : c → a ? b : c`