forked from ard/ruoyi-api

Administrator
2023-08-03 81a00e19f33166f541da16a52a575ae9b6a62b2a
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");
  }
}