decord/source/4241_initCloneArray.js

24 lines
505 B
JavaScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 4241
2026-07-27 11:26:19 +00:00
// Function ID: 37337
2026-07-20 16:05:17 +00:00
// Name: initCloneArray
// Dependencies: []
2026-07-25 08:10:48 +00:00
// Module 4241 (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;
};