We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56923fe commit 2d156c7Copy full SHA for 2d156c7
src/merge.js
@@ -6,6 +6,7 @@ export function merge(a, b, k) {
6
}
7
} else {
8
for (k in b) {
9
+ if (k === '__proto__' || k === 'constructor' || k === 'prototype') break;
10
a[k] = merge(a[k], b[k]);
11
12
0 commit comments