Rename all proposal plugins to -proposal- from -transform- (#6570)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
const obj = {
|
||||
*gen() {
|
||||
return function.sent;
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
function _skipFirstGeneratorNext(fn) { return function () { var it = fn.apply(this, arguments); it.next(); return it; }; }
|
||||
|
||||
const obj = {
|
||||
gen() {
|
||||
return _skipFirstGeneratorNext(function* () {
|
||||
let _functionSent = yield;
|
||||
|
||||
return _functionSent;
|
||||
})();
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user