Felipe Armoni fdfe97879e
Disallow reinitializing private elements (#13601)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2021-08-30 12:44:38 +02:00

20 lines
318 B
JavaScript

var _g = /*#__PURE__*/new WeakSet();
class C {
constructor() {
babelHelpers.classPrivateMethodInitSpec(this, _g);
}
}
function _g2() {
var _this = this;
return babelHelpers.wrapAsyncGenerator(function* () {
_this;
yield babelHelpers.awaitAsyncGenerator(1);
yield 2;
return 3;
})();
}