Urara-Blog/node_modules/.pnpm-store/v3/files/c4/b3a8a12870795077f8ecf27e4465f145d857a937b67e5cf28830589ac3e866d5bc815ca2558622ce2b91c7657856f08f8686a96950f30c47f7a9dc60c4a9ed
2022-08-14 01:14:53 +08:00

5 lines
No EOL
209 B
Text

export default function _checkPrivateRedeclaration(obj, privateCollection) {
if (privateCollection.has(obj)) {
throw new TypeError("Cannot initialize the same private elements twice on an object");
}
}