Skip to content

Commit df830f4

Browse files
committed
fix: toString should check for object
1 parent 5a82179 commit df830f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bind.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ var Bind = (function Bind(global) {
504504
value;
505505
});
506506
} else if (typeof value === o && value !== null && !isArray(value) &&
507-
value.toString === '[Object object]') {
507+
value.toString() === '[Object object]') {
508508
target[key] = __export(target[key] || {}, value);
509509
} else {
510510
target[key] = value;

0 commit comments

Comments
 (0)