decord/source/__polyfill/08xxx/module_8428.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

26 lines
539 B
JavaScript

// Module ID: 8428
// Function ID: 8429
// Dependencies: []
// Module 8428
export default (obj) => {
if (obj instanceof Object) {
const _Array = Array;
if (!Array.isArray(obj)) {
obj = {};
for (const key10010 in arg0) {
if (!arg0.hasOwnProperty(key10010)) {
continue;
} else {
obj[key10010] = key10010;
continue;
}
continue;
}
return obj;
}
}
const error = new Error("keyMirror(...): Argument must be an object.");
throw error;
};