linwenling
2023-05-25 adbcf8cae1885a88d68079ef6df085aa19c858de
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");
  }
}