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
11 lines
220 B
JavaScript
11 lines
220 B
JavaScript
function foo() {
|
|
var input = ['a', 'b', 'c'];
|
|
var output = {};
|
|
for (var _i = 0, _input = input; _i < _input.length; _i++) {
|
|
var c = _input[_i];
|
|
var name = c;
|
|
output[name] = name;
|
|
}
|
|
return output;
|
|
}
|