fix corner case in `rests` (#5129)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sun, 19 Sep 2021 21:02:35 +0000 (22:02 +0100)
committerGitHub <noreply@github.com>
Sun, 19 Sep 2021 21:02:35 +0000 (05:02 +0800)
commit55418fd46037edaf0c2f10c10b466f2301b0d948
tree8088b7d1832f81cced940ee7a87fae9c482d25d8
parent85786889bd7e30907c71c9f593094aea1f6b0dad
fix corner case in `rests` (#5129)

fixes #5128
lib/compress.js
test/compress/rests.js