collapse_vars should not replace constant in for-in init section (#1538)
authorkzc <kzc@users.noreply.github.com>
Thu, 2 Mar 2017 19:51:15 +0000 (14:51 -0500)
committerAlex Lam S.L <alexlamsl@gmail.com>
Thu, 2 Mar 2017 19:51:15 +0000 (03:51 +0800)
commit4d63d4f5b30d2b46f3b6ed4cfced277f4f8e428f
treebb510a5fcd6c411b2f239dd85792d2c8ffd96e54
parent70d72ad8065421908ff9a8658539359789c4f460
collapse_vars should not replace constant in for-in init section (#1538)

fixes #1537
lib/compress.js
test/compress/collapse_vars.js