reject invalid `for...of` syntax (#4632)
authorAlex Lam S.L <alexlamsl@gmail.com>
Tue, 9 Feb 2021 21:42:27 +0000 (21:42 +0000)
committerGitHub <noreply@github.com>
Tue, 9 Feb 2021 21:42:27 +0000 (05:42 +0800)
commit228cdf8e7e1dc472813f7def780b8608a4f5f485
treed8836d3831f5d6f465b79d5f7d295d19a7295d76
parent14fedbf123a5d8a86621ac6aa996042ee0011b47
reject invalid `for...of` syntax (#4632)
lib/parse.js
test/input/invalid/for-of_1.js [new file with mode: 0644]
test/input/invalid/for-of_2.js [new file with mode: 0644]
test/mocha/cli.js