mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
28 lines
835 B
JavaScript
28 lines
835 B
JavaScript
var _myAsyncMethod = /*#__PURE__*/new WeakMap();
|
|
class MyClass {
|
|
constructor() {
|
|
var _this = this;
|
|
babelHelpers.classPrivateFieldInitSpec(this, _myAsyncMethod, /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
|
console.log(_this);
|
|
}));
|
|
}
|
|
}
|
|
var _myAsyncMethod2 = /*#__PURE__*/new WeakMap();
|
|
(class MyClass2 {
|
|
constructor() {
|
|
var _this2 = this;
|
|
babelHelpers.classPrivateFieldInitSpec(this, _myAsyncMethod2, /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
|
console.log(_this2);
|
|
}));
|
|
}
|
|
});
|
|
var _myAsyncMethod3 = /*#__PURE__*/new WeakMap();
|
|
export default class MyClass3 {
|
|
constructor() {
|
|
var _this3 = this;
|
|
babelHelpers.classPrivateFieldInitSpec(this, _myAsyncMethod3, /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
|
console.log(_this3);
|
|
}));
|
|
}
|
|
}
|