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

23 lines
464 B
JavaScript

var A = /*#__PURE__*/babelHelpers.createClass(function A() {
"use strict";
babelHelpers.classCallCheck(this, A);
});
var B = /*#__PURE__*/function (_A) {
"use strict";
babelHelpers.inherits(B, _A);
var _super = babelHelpers.createSuper(B);
function B() {
var _this;
babelHelpers.classCallCheck(this, B);
return babelHelpers.possibleConstructorReturn(_this, _this = _super.call(this));
}
return babelHelpers.createClass(B);
}(A);