decord/source/4236_initCloneArray.js

24 lines
505 B
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 4236
// Function ID: 37276
2026-07-20 16:05:17 +00:00
// Name: initCloneArray
// Dependencies: []
2026-07-21 06:55:02 +00:00
// Module 4236 (initCloneArray)
2026-07-20 16:05:17 +00:00
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;
};