💻
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
for( await of [1, 2, 3] ) { console.log(await) }
Configuration file name
No response
Configuration
No response
Current and expected behavior
Hello,
The input code prints 1, 2 and 3:
$ node --version
v18.11.0
$ node input.js
1
2
3
However, Babel fails to transpile the input code:

Environment
Reproduction on Babel's own REPL
Possible solution
No response
Additional context
No response
💻
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,2and3:However, Babel fails to transpile the input code:

Environment
Reproduction on Babel's own REPL
Possible solution
No response
Additional context
No response