mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
13 lines
268 B
JavaScript
13 lines
268 B
JavaScript
function fn(a, _ref) {
|
|
var _arguments = arguments,
|
|
_this = this;
|
|
let [] = _ref;
|
|
let b = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 2;
|
|
return function* () {
|
|
yield a;
|
|
yield _arguments;
|
|
yield _this;
|
|
return b;
|
|
}();
|
|
}
|