mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 16:59:30 +08:00
7 lines
No EOL
318 B
Text
7 lines
No EOL
318 B
Text
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
if (privateCollection.has(obj)) {
|
|
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
}
|
|
}
|
|
|
|
module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports; |