Skip to content

Commit a64bdda

Browse files
committed
Document keep_fargs. Close mishoo#557
1 parent 01d19b4 commit a64bdda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ to set `true`; it's effectively a shortcut for `foo=true`).
256256
- `drop_console` -- default `false`. Pass `true` to discard calls to
257257
`console.*` functions.
258258

259+
- `keep_fargs` -- default `false`. Pass `true` to prevent the
260+
compressor from discarding unused function arguments. You need this
261+
for code which relies on `Function.length`.
262+
259263
### The `unsafe` option
260264

261265
It enables some transformations that *might* break code logic in certain

0 commit comments

Comments
 (0)