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

+19
View File
@@ -0,0 +1,19 @@
// Metro module 6393 (f6394).
const merge = function merge(a0, a1, r12 = 2) {
if (a1 && typeof a1 === "object" && !(r12 <= 0)) {
if (a0 && a1 && Object.keys(a1).length === 0) {
return a0;
}
const r24 = {
...a0
};
for (const key in a1) {
if (Object.prototype.hasOwnProperty.call(a1, key)) {
r24[key] = merge(r24[key], a1[key], r12 - 1);
}
}
return r24;
}
return a1;
};
export { merge };