decord/source/4369_initCloneArray.js
2026-08-05 07:35:12 +00:00

28 lines
644 B
JavaScript

// Module ID: 4369
// Function ID: 4370
// Name: initCloneArray
// Dependencies: []
// Module 4369 (initCloneArray)
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;
}
};