fix corner cases in arrow functions & `rests` (#4667)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 19 Feb 2021 00:26:57 +0000 (00:26 +0000)
committerGitHub <noreply@github.com>
Fri, 19 Feb 2021 00:26:57 +0000 (08:26 +0800)
commit5f60c1b830fec648974b3ea7cbd6f53a6bfd7c75
tree4c9d12f39be736a2f000ce1e5d88a3af45bc6933
parent10de27ca3d2010f45a1fb86b2707fa82e73b36b2
fix corner cases in arrow functions & `rests` (#4667)

fixes #4666
lib/compress.js
lib/parse.js
test/compress/arrows.js
test/compress/rests.js