### 💻 - [ ] Would you like to work on a fix? ### How are you using Babel? Other (Next.js, Gatsby, vue-cli, ...) ### Input code ```js [ ] = { [ 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. ```console $ node input.js # terminates with no error ``` ```console $ node output.js # never terminates ^C ``` ### Environment [Reproduction on Babel's own REPL](https://babeljs.io/repl#?browsers=&build=&builtIns=false&corejs=3.21&spec=false&loose=false&code_lz=NoAguiC8IN4qBlAngWwEYHsA2IB0IBLAFwFMAnAQyIzPBAC4QKBnJAOwGMQAzAV06IEMbEACoQAChABKWCAC-CkAG4AUEA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&timeTravel=false&sourceType=module&lineWrap=true&presets=env%2Creact%2Cstage-2&prettier=true&targets=&version=7.19.2&externalPlugins=&assumptions=%7B%7D) ### Possible solution _No response_ ### Additional context _No response_