linwenling
2023-10-22 f5b32fb3ccaea79ee63a63671598eee0c994c25f
1
2
3
4
5
export default function _checkPrivateRedeclaration(obj, privateCollection) {
  if (privateCollection.has(obj)) {
    throw new TypeError("Cannot initialize the same private elements twice on an object");
  }
}