This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// Metro module 4304 (f4305).
const hasOwnProperty = Object.prototype.hasOwnProperty;
module.exports = function initCloneArray(a0) {
let length = a0.length;
const constructor = new a0.constructor(length);
if (length) {
length = typeof a0[0] === "string";
}
if (length) {
const call = hasOwnProperty.call;
length = hasOwnProperty.call(a0, "index");
}
if (length) {
constructor.index = a0.index;
constructor.input = a0.input;
}
return constructor;
};