mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
23 lines
540 B
JavaScript
23 lines
540 B
JavaScript
babelHelpers.asyncToGenerator(function* () {
|
|
let items = [1, 2, 3, 4];
|
|
for (const item of items) {
|
|
yield f(/*#__PURE__*/function () {
|
|
var _ref2 = babelHelpers.asyncToGenerator(function* (x) {
|
|
console.log(item);
|
|
});
|
|
return function (_x) {
|
|
return _ref2.apply(this, arguments);
|
|
};
|
|
}());
|
|
}
|
|
})();
|
|
function f(_x2) {
|
|
return _f.apply(this, arguments);
|
|
}
|
|
function _f() {
|
|
_f = babelHelpers.asyncToGenerator(function* (lambda) {
|
|
yield lambda();
|
|
});
|
|
return _f.apply(this, arguments);
|
|
}
|