fallthrough should not execute case expression (#1683)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sun, 26 Mar 2017 08:52:38 +0000 (16:52 +0800)
committerGitHub <noreply@github.com>
Sun, 26 Mar 2017 08:52:38 +0000 (16:52 +0800)
commit3276740779077f2ee7b686c4aa7f1bd46fbc1c66
tree2c17715ca1e6e44158b68f7381d1c9e903bb851b
parent5509e51098274b28b8574246011767ba0be66edd
fallthrough should not execute case expression (#1683)

- de-duplicate trailing cases only, avoid all potential side-effects
- enable switch statement fuzzing

fixes #1680
lib/compress.js
test/compress/switch.js
test/ufuzz.js