wentout c59870c526
Mark class prototype as read-only (#12115)
* initial code 2 fix the issue #2025

* Mark class prototype as read-only

* Update fixtures

* Fix failure

* Update Babel 8 fixtures

* Disable in loose mode

* Update fixtures

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-12-10 21:44:48 +01:00

54 lines
1.0 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var b = /*#__PURE__*/babelHelpers.createClass(function b() {
babelHelpers.classCallCheck(this, b);
});
var a1 = /*#__PURE__*/function (_b) {
babelHelpers.inherits(a1, _b);
var _super = babelHelpers.createSuper(a1);
function a1() {
var _this;
babelHelpers.classCallCheck(this, a1);
_this = _super.call(this);
_this.x = function () {
return babelHelpers.assertThisInitialized(_this);
};
return _this;
}
return babelHelpers.createClass(a1);
}(b);
var a2 = /*#__PURE__*/function (_b2) {
babelHelpers.inherits(a2, _b2);
var _super2 = babelHelpers.createSuper(a2);
function a2() {
var _this2;
babelHelpers.classCallCheck(this, a2);
_this2 = _super2.call(this);
_this2.x = function () {
return babelHelpers.assertThisInitialized(_this2);
};
return _this2;
}
return babelHelpers.createClass(a2);
}(b);
exports["default"] = a2;