| 1 |
// https://github.com/babel/babel/pull/15361 |
| 2 |
|
| 3 |
function fooBar(arrayOfThings) { |
| 4 |
for (let index = 0; index < arrayOfThings.length; index++) { |
| 5 |
const thing = arrayOfThings[index]; |
| 6 |
const someMapObj = {}; |
| 7 |
let arrow = (x) => someMapObj; |
| 8 |
arrow(0) |
| 9 |
} |
| 10 |
} |
| 11 |
|
| 12 |
fooBar([1,2,3]) |