source: node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 209 bytes
Line 
1export default function _checkPrivateRedeclaration(obj, privateCollection) {
2 if (privateCollection.has(obj)) {
3 throw new TypeError("Cannot initialize the same private elements twice on an object");
4 }
5}
Note: See TracBrowser for help on using the repository browser.