mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
12 lines
347 B
JavaScript
12 lines
347 B
JavaScript
var _x = /*#__PURE__*/new WeakMap();
|
|
let C = /*#__PURE__*/babelHelpers.createClass(function C() {
|
|
"use strict";
|
|
|
|
babelHelpers.classCallCheck(this, C);
|
|
babelHelpers.defineProperty(this, "y", babelHelpers.classPrivateFieldGet2(_x, this));
|
|
babelHelpers.classPrivateFieldInitSpec(this, _x, void 0);
|
|
});
|
|
expect(() => {
|
|
new C();
|
|
}).toThrow();
|