From 9f3a009cd815c7173e95c00aaa5ed929d115ff11 Mon Sep 17 00:00:00 2001 From: kzc Date: Thu, 1 Jun 2017 15:54:27 -0400 Subject: [PATCH] better document behavior of unsafe_Func --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b6b52a46..95d54464 100644 --- a/README.md +++ b/README.md @@ -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.