UNPKG

317 BJavaScriptView Raw
1function _checkPrivateRedeclaration(obj, privateCollection) {
2 if (privateCollection.has(obj)) {
3 throw new TypeError("Cannot initialize the same private elements twice on an object");
4 }
5}
6module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports;
\No newline at end of file