extend `inline` (#2714)
authorAlex Lam S.L <alexlamsl@gmail.com>
Thu, 4 Jan 2018 04:58:40 +0000 (12:58 +0800)
committerGitHub <noreply@github.com>
Thu, 4 Jan 2018 04:58:40 +0000 (12:58 +0800)
commit9b58b54e2d7ce4ab2c015611add52c7475de9eab
tree0c287e5a558a71debcb187ec5f3d33bb2e795763
parentc598a12af956a939587059f0f4753a0631b5b372
extend `inline` (#2714)

- compress `function` with variables within loops
- restrict to `AST_Var` for better compatibility with ES6+
lib/compress.js
test/compress/functions.js