We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7e6622 commit 440d2b2Copy full SHA for 440d2b2
src/utils.js
@@ -61,11 +61,11 @@ export default {
61
for (let i = 0; i < args.length; i += 1) {
62
const b = args[i];
63
64
- if (typeof b === "object" && b !== null && typeof b !== "undefined"
65
- && typeof a === "object" && a !== null && typeof a !== "undefined") {
+ if (typeof b === "object" && b !== null
+ && typeof a === "object" && a !== null) {
66
for (let key in b) {
67
if (b.hasOwnProperty(key)) {
68
- if (recursive && typeof b[key] === "object" && b[key] !== null && typeof b[key] !== "undefined") {
+ if (recursive && typeof b[key] === "object" && b[key] !== null) {
69
a[key] = this.extend(a[key], b[key]);
70
} else {
71
a[key] = b[key];
0 commit comments