mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* move core transformation cases to plugins * move tests to traverse/regression
12 lines
155 B
JavaScript
12 lines
155 B
JavaScript
function foo() {
|
|
let input = ['a', 'b', 'c']
|
|
let output = {}
|
|
|
|
for (let c of input) {
|
|
let name = c
|
|
output[name] = name
|
|
}
|
|
|
|
return output
|
|
}
|