Files
2025-03-07 19:22:02 +01:00

9 lines
262 B
JavaScript

"use strict";
function _check_private_redeclaration(obj, privateCollection) {
if (privateCollection.has(obj)) {
throw new TypeError("Cannot initialize the same private elements twice on an object");
}
}
exports._ = _check_private_redeclaration;