diff options
author | kzc <kzc@users.noreply.github.com> | 2017-06-02 00:07:17 -0400 |
---|---|---|
committer | Alex Lam S.L <alexlamsl@gmail.com> | 2017-06-02 12:07:17 +0800 |
commit | f330ab743aa65234ad8c7d7cea7a6f8cc71fc6a5 (patch) | |
tree | 73c4f1c7d3757b5a032e6ad8517c872f2ec9b6ca | |
parent | 4377e932ca2112178b6f2733084ddd668fbf0e51 (diff) | |
download | tracifyjs-f330ab743aa65234ad8c7d7cea7a6f8cc71fc6a5.tar.gz tracifyjs-f330ab743aa65234ad8c7d7cea7a6f8cc71fc6a5.zip |
better document behavior of unsafe_Func (#2043)
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -572,7 +572,8 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u comparison are switching. Compression only works if both `comparisons` and `unsafe_comps` are both set to true. -- `unsafe_Func` (default: false) -- compress and mangle `Function(args, code)`. +- `unsafe_Func` (default: false) -- compress and mangle `Function(args, code)` + when both `args` and `code` are string literals. - `unsafe_math` (default: false) -- optimize numerical expressions like `2 * x * 3` into `6 * x`, which may give imprecise floating point results. |