11 lines
347 B
Plaintext
11 lines
347 B
Plaintext
"use strict";
|
|
|
|
exports._ = exports._class_private_field_loose_base = _class_private_field_loose_base;
|
|
function _class_private_field_loose_base(receiver, privateKey) {
|
|
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
|
throw new TypeError("attempted to use private field on non-instance");
|
|
}
|
|
|
|
return receiver;
|
|
}
|