reduce `this` within functions (#2421)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 3 Nov 2017 16:31:37 +0000 (00:31 +0800)
committerGitHub <noreply@github.com>
Fri, 3 Nov 2017 16:31:37 +0000 (00:31 +0800)
commitc8b6f4733d35db48b5b7e2373264db0d99eb299f
treef609933db48323267cc3709cb63732dd6a2df895
parenta48f87abf2fb09cc8296444eb613021ef66492c3
reduce `this` within functions (#2421)

- only replace same-scope usages
- augment `test/ufuzz.js` to test for `this`

fixes #2420
lib/compress.js
test/compress/reduce_vars.js
test/ufuzz.js