2026-08-08 06:10:11 +00:00
|
|
|
// Module ID: 4418
|
|
|
|
|
// Function ID: 4419
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: initCloneArray
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-08-08 06:10:11 +00:00
|
|
|
// Module 4418 (initCloneArray)
|
2026-07-29 08:29:29 +00:00
|
|
|
|
|
|
|
|
export default function initCloneArray(arg0) {
|
|
|
|
|
let length = arg0.length;
|
|
|
|
|
const constructor = new arg0.constructor(length);
|
|
|
|
|
if (length) {
|
2026-08-04 21:03:28 +00:00
|
|
|
length = typeof arg0[0] === "string";
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
if (!length) {
|
|
|
|
|
if (length) {
|
|
|
|
|
({ index: tmp.index, input: tmp.input } = arg0);
|
|
|
|
|
}
|
|
|
|
|
return constructor;
|
|
|
|
|
} else {
|
|
|
|
|
const call = hasOwnProperty.call;
|
|
|
|
|
if (typeof call === "unknown") {
|
|
|
|
|
let callResult = tmp2("index");
|
|
|
|
|
} else {
|
|
|
|
|
callResult = call(arg0, "index");
|
|
|
|
|
}
|
|
|
|
|
tmp2 = hasOwnProperty;
|
|
|
|
|
}
|
|
|
|
|
};
|