mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
15 lines
375 B
JavaScript
15 lines
375 B
JavaScript
var _x = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("x");
|
|
var C = /*#__PURE__*/babelHelpers.createClass(function C() {
|
|
"use strict";
|
|
|
|
babelHelpers.classCallCheck(this, C);
|
|
this.y = babelHelpers.classPrivateFieldLooseBase(this, _x)[_x];
|
|
Object.defineProperty(this, _x, {
|
|
writable: true,
|
|
value: void 0
|
|
});
|
|
});
|
|
expect(() => {
|
|
new C();
|
|
}).toThrow();
|