Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private/class-shadow-builtins/output.mjs

raw
1 function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
2 function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
3 var _message = /*#__PURE__*/new WeakMap();
4 class _TypeError {
5 constructor() {
6 _classPrivateFieldInitSpec(this, _message, {
7 writable: true,
8 value: void 0
9 });
10 }
11 }
12 export { _TypeError as TypeError };