Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
11 lines
163 B
JavaScript
11 lines
163 B
JavaScript
class Foo {
|
|
gen() {
|
|
return babelHelpers.skipFirstGeneratorNext(function* () {
|
|
let _functionSent = yield;
|
|
|
|
return _functionSent;
|
|
})();
|
|
}
|
|
|
|
}
|