π»
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
[ ] = { [ Symbol . iterator ] : async function * ( ) { } } ;
Configuration file name
No response
Configuration
No response
Current and expected behavior
The input code terminates immediately but the output code never terminates.
$ node input.js # terminates with no error
$ node output.js # never terminates
^C
Environment
Reproduction on Babel's own REPL
Possible solution
No response
Additional context
No response