[Bug]: Property init of ForStatement expected node to be of a type #14840
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: preset-env
💻
How are you using Babel?
@babel/cli
Input code
Here is the REPL
Configuration file name
babel.config.json
Configuration
Current and expected behavior
When Babel transpiles this code, it throws the following error:
However, the code can be run by node and transpiled by swc. This is the repl
Environment
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: