Skip to content

Commit 69b1f78

Browse files
committed
1 parent 4555cb3 commit 69b1f78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/merge.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ module.exports = function merge(a, b) {
1010

1111
if (typeof(a) === 'object' && typeof(b) === 'object') {
1212
for (x in a) {
13-
if (a.hasOwnProperty(x)) {
13+
if (Object.prototype.hasOwnProperty.call(a, x)) {
1414
r[x] = a[x];
1515
if (x in b) {
1616
r[x] = merge(a[x], b[x]);
1717
}
1818
}
1919
}
2020
for (x in b) {
21-
if (b.hasOwnProperty(x)) {
21+
if (Object.prototype.hasOwnProperty.call(b, x)) {
2222
if (!(x in a)) {
2323
r[x] = b[x];
2424
}

0 commit comments

Comments
 (0)