decord/source/__polyfill/04xxx/module_4710.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

27 lines
603 B
JavaScript

// Module ID: 4710
// Function ID: 4711
// Dependencies: []
// Module 4710
export default function initCloneArray(arg0) {
let length = arg0.length;
const constructor = new arg0.constructor(length);
if (length) {
length = typeof arg0[0] === "string";
}
if (!length) {
if (length) {
({ index: tmp.index, input: tmp.input } = arg0);
}
return constructor;
} else {
const call = hasOwnProperty.call;
if (typeof call === "unknown") {
let callResult = tmp2("index");
} else {
callResult = call(arg0, "index");
}
tmp2 = hasOwnProperty;
}
};