💻
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
for ( let { } = 0 ; 0 ; ) ;
Configuration file name
No response
Configuration
No response
Current and expected behavior
The input code has no problem, but Babel throws error while transpiling the code.
$ node
Welcome to Node.js v18.11.0.
Type ".help" for more information.
> for ( let { } = 0 ; 0 ; ) ;
undefined
Environment
Reproduction on Babel's own REPL
Possible solution
No response
Additional context
No response