fix `dead_code` on block-scoped `function` under "use strict" (#2006)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 26 May 2017 08:08:51 +0000 (16:08 +0800)
committerGitHub <noreply@github.com>
Fri, 26 May 2017 08:08:51 +0000 (16:08 +0800)
commitdc33facfcb7899c0422cb14b08dddfcf06b1c949
tree1409988235910fe711a5e8c07f25a4b6d3cfb9ec
parentc70fb6038448cf072cfa96cee78eaa55aa99c0fa
fix `dead_code` on block-scoped `function` under "use strict" (#2006)

Technically not part of ES5, but commonly used code exists in the wild.
lib/compress.js
test/compress/dead-code.js
test/compress/issue-1034.js