Files
ff40e277ac fix: enable block-scoping transform when compiling generators (#15606)
* fix: enable transform-block-scoping with generators feature (#12806)

* Update Babel 8 fixtures

* Fix test difference in Babel 7 and 8

---------

Co-authored-by: Nicolò Ribaudo <[email protected]>
2023-05-08 18:39:02 +02:00

7 lines
110 B
JavaScript

async function test() {
const obj = {};
for (const ch of ["good", "bad"]) {
obj[ch] = () => ch;
}
}