forked from ard/ruoyi-api

‘liusuyi’
2023-07-19 70d17d90cef5985dbc572e5be79ed7041a0476ff
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");
  }
}