mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
// https://github.com/babel/babel/pull/15361
|
|
|
|
function fooBar(arrayOfThings) {
|
|
for (let index = 0; index < arrayOfThings.length; index++) {
|
|
const thing = arrayOfThings[index];
|
|
const someMapObj = {};
|
|
let arrow = (x) => someMapObj;
|
|
arrow(0)
|
|
}
|
|
}
|
|
|
|
fooBar([1,2,3])
|