fix corner case in `functions` (#3367)
authorAlex Lam S.L <alexlamsl@gmail.com>
Thu, 18 Apr 2019 18:55:43 +0000 (02:55 +0800)
committerGitHub <noreply@github.com>
Thu, 18 Apr 2019 18:55:43 +0000 (02:55 +0800)
commitb55a2fd53113d70900c7cd96ad8cfdcc235629c2
treea251bbf35f87daf3fc0da63e3cf0afdb0c8a15fb
parente8a2c0b5bf18659a3e1285b6038ea755a290220d
fix corner case in `functions` (#3367)

fixes #3366
lib/compress.js
test/compress/functions.js
test/sandbox.js