* 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>
18 lines
430 B
JavaScript
18 lines
430 B
JavaScript
var _x = /*#__PURE__*/new WeakMap();
|
|
|
|
var _y = /*#__PURE__*/new WeakMap();
|
|
|
|
var Foo = /*#__PURE__*/babelHelpers.createClass(function Foo() {
|
|
"use strict";
|
|
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
babelHelpers.classPrivateFieldInitSpec(this, _x, {
|
|
writable: true,
|
|
value: 0
|
|
});
|
|
babelHelpers.classPrivateFieldInitSpec(this, _y, {
|
|
writable: true,
|
|
value: babelHelpers.classPrivateFieldGet(this, _x)
|
|
});
|
|
});
|