decord/source/4240_initCloneArray.js
2026-07-23 10:11:24 +00:00

23 lines
505 B
JavaScript

// Module ID: 4240
// Function ID: 37324
// Name: initCloneArray
// Dependencies: []
// Module 4240 (initCloneArray)
export default function initCloneArray(arg0) {
let constructor;
let length;
({ length, constructor } = arg0);
constructor = new constructor(length);
if (length) {
length = "string" === typeof arg0[0];
}
if (length) {
length = hasOwnProperty.call(arg0, "index");
}
if (length) {
({ index: tmp.index, input: tmp.input } = arg0);
}
return constructor;
};