mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 19:39:30 +08:00
7 lines
No EOL
240 B
Text
7 lines
No EOL
240 B
Text
export default function _classPrivateFieldBase(receiver, privateKey) {
|
|
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
|
throw new TypeError("attempted to use private field on non-instance");
|
|
}
|
|
|
|
return receiver;
|
|
} |