decord/source/4232_initCloneArray.js
2026-07-20 16:05:17 +00:00

23 lines
505 B
JavaScript

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