better document behavior of unsafe_Func (#2043)

This commit is contained in:
kzc
2017-06-02 00:07:17 -04:00
committed by Alex Lam S.L
parent 4377e932ca
commit f330ab743a

View File

@@ -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.