forked from ard/ruoyi-api

‘liusuyi’
2024-03-12 48af67d016ceca5d8bd598c478b70c54ed099bf0
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");
  }
}