decord/source/4304_initCloneArray.js
2026-07-29 08:29:29 +00:00

28 lines
639 B
JavaScript

// Module ID: 4304
// Function ID: 4305
// Name: initCloneArray
// Dependencies: []
// Module 4304 (initCloneArray)
export default function initCloneArray(arg0) {
let length = arg0.length;
const constructor = new arg0.constructor(length);
if (length) {
length = typeof arg0[0] === "y";
}
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;
}
};