source:
node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js@
65b6638
Last change on this file since 65b6638 was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 209 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | export 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.