forked from ard/ruoyi-api

zhangjian
2023-07-07 a7c7965a518359a1c81bde0a8c451f2fc1cc25fe
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");
  }
}