Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MR414N-ID
GitHub Repository: MR414N-ID/botku2
Path: blob/master/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js
1126 views
1
function _checkPrivateRedeclaration(obj, privateCollection) {
2
if (privateCollection.has(obj)) {
3
throw new TypeError("Cannot initialize the same private elements twice on an object");
4
}
5
}
6
7
module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports;
8