refactor `throw` usage within `compress` (#2193)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sun, 2 Jul 2017 18:10:56 +0000 (02:10 +0800)
committerGitHub <noreply@github.com>
Sun, 2 Jul 2017 18:10:56 +0000 (02:10 +0800)
commit20e4f8277fc69b275600770c5d41fa1b75b9984f
treecf26dd8e25db7e2838bd9a00dd968822af0f26be
parentf3a487a36829eabc7b2d878eba299f7d97d830e0
refactor `throw` usage within `compress` (#2193)

Eliminate exceptional constructs from normal control flow.
lib/compress.js