simplify `do-while` into `for` (#2907)
authorAlex Lam S.L <alexlamsl@gmail.com>
Mon, 12 Feb 2018 15:28:28 +0000 (23:28 +0800)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 15:28:28 +0000 (23:28 +0800)
commit0809699bdc7b1c249c7bbe02924a4a861aff8bea
treecf442345213f3c85a659ae84db6f82575c3ba2e8
parent2088e1c19d97955b5582e08396fca8c7b7dadd83
simplify `do-while` into `for` (#2907)

fixes #2904
lib/compress.js
test/compress/loops.js
test/compress/reduce_vars.js