[Bug]: Babel crashes when using await
as an identifier in ForInOfHead
#15127
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: parser
馃捇
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
Configuration file name
No response
Configuration
No response
Current and expected behavior
Hello,
The input code prints
1
,2
and3
:However, Babel fails to transpile the input code:
Environment
Reproduction on Babel's own REPL
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: