decord/source/__helpers/00xxx/90__classPrivateFieldBase.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

18 lines
529 B
JavaScript

// Module ID: 90
// Function ID: 91
// Name: _classPrivateFieldBase
// Dependencies: []
// Module 90 (_classPrivateFieldBase)
export default function _classPrivateFieldBase(self, key10009) {
hasOwnProperty = {}.hasOwnProperty;
const call = hasOwnProperty.call;
if (typeof call === "unknown" ? hasOwnProperty(key10009) : call(self, key10009)) {
return self;
} else {
const _TypeError = TypeError;
const typeError = new TypeError("attempted to use private field on non-instance");
throw typeError;
}
};