2026-07-23 10:11:24 +00:00
|
|
|
// Module ID: 4240
|
2026-07-24 07:16:23 +00:00
|
|
|
// Function ID: 37325
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: initCloneArray
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
// Module 4240 (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;
|
|
|
|
|
};
|