smarter const replacement taking name length into account
authorkzc <zaxxon2011@gmail.com>
Sat, 18 Feb 2017 11:12:57 +0000 (19:12 +0800)
committeralexlamsl <alexlamsl@gmail.com>
Tue, 21 Feb 2017 05:29:58 +0000 (13:29 +0800)
commit6ffbecb72b515d6e9e6dee1f76d8f27e4b014854
treea8a375aa8a790d291ccc7dfdde63217fd5c3d0d2
parentf0ff6189be3a75cd4ccb1c38051ec27f9b30d67f
smarter const replacement taking name length into account

closes #1459
lib/compress.js
test/compress/const.js [new file with mode: 0644]