zhangnaisong
2024-01-24 15a51e0af4a4864fcf30ebd927864147e278181a
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");
  }
}