From 5172ba5f2ade22716e65ff2333218fc08996bfcc Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Mon, 15 Apr 2019 22:23:11 +0800 Subject: introduce `functions` (#3360) `var f = function() {};` => `function f() {}` --- README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 1be2d2e8..bf8fbd23 100644 --- a/README.md +++ b/README.md @@ -636,6 +636,9 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u - `expression` (default: `false`) -- Pass `true` to preserve completion values from terminal statements without `return`, e.g. in bookmarklets. +- `functions` (default: `true`) -- convert declarations from `var`to `function` + whenever possible. + - `global_defs` (default: `{}`) -- see [conditional compilation](#conditional-compilation) - `hoist_funs` (default: `false`) -- hoist function declarations -- cgit v1.2.3