linwenling
2023-08-27 188d4a764d8bcedf53ac67127b4b9e142f79b1eb
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");
  }
}