reduce this within functions (#2421)

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


fixes #2420
This commit is contained in:
Alex Lam S.L
2017-11-04 00:31:37 +08:00
committed by GitHub
parent a48f87abf2
commit c8b6f4733d
3 changed files with 129 additions and 31 deletions

View File

@@ -162,6 +162,7 @@ var VALUES = [
'"object"',
'"number"',
'"function"',
'this',
];
var BINARY_OPS_NO_COMMA = [