my-idlers/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

5 lines
209 B
JavaScript
Vendored

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