Renamed files
This commit is contained in:
committed by
Nicolò Ribaudo
parent
07e69c009b
commit
0f42accb87
14
packages/babel-plugin-proposal-function-sent/test/fixtures/function-sent/basic/output.js
vendored
Normal file
14
packages/babel-plugin-proposal-function-sent/test/fixtures/function-sent/basic/output.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); it.next(); return it; }; }
|
||||
|
||||
function gen() {
|
||||
return _gen.apply(this, arguments);
|
||||
}
|
||||
|
||||
function _gen() {
|
||||
_gen = _skipFirstGeneratorNext(function* () {
|
||||
let _functionSent = yield;
|
||||
|
||||
let sent = _functionSent;
|
||||
});
|
||||
return _gen.apply(this, arguments);
|
||||
}
|
||||
Reference in New Issue
Block a user