Debian Codegraph @

packages/babel-plugin-proposal-private-methods/test/fixtures/private-method/generator/output.js

raw
1 var _foo = /*#__PURE__*/new WeakSet();
2 class Cl {
3 constructor() {
4 babelHelpers.classPrivateMethodInitSpec(this, _foo);
5 }
6 test() {
7 return babelHelpers.classPrivateMethodGet(this, _foo, _foo2).call(this);
8 }
9 }
10 function* _foo2() {
11 yield 2;
12 return 3;
13 }