add `Date` and other known globals to `unsafe` compress option (#2302)
authorkzc <kzc@users.noreply.github.com>
Wed, 6 Sep 2017 18:44:26 +0000 (14:44 -0400)
committerAlex Lam S.L <alexlamsl@gmail.com>
Wed, 6 Sep 2017 18:44:26 +0000 (02:44 +0800)
commit8b890721903a0a983ffe74a3cecc6b922fa0518e
treefb3d290111a4b45384494bbf1fd0c0147eb07552
parent395a17ccda95362b1a7a5bd9ac0e6cda7f0946a8
add `Date` and other known globals to `unsafe` compress option (#2302)
lib/compress.js
test/compress/dead-code.js