Skip to content

Commit cbcb1ef

Browse files
committed
Stop false early return triggering in IE
1 parent d4a0766 commit cbcb1ef

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

internal/util/comparisons.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,10 @@ function innerDeepEqual(val1, val2, strict, memos) {
204204
}
205205
return keyCheck(val1, val2, strict, memos, kIsArray, keys1);
206206
}
207-
if (val1Tag === '[object Object]') {
208-
return keyCheck(val1, val2, strict, memos, kNoIterator);
209-
}
207+
// [browserify] This triggers on certain types in IE (Map/Set)
208+
// if (val1Tag === '[object Object]') {
209+
// return keyCheck(val1, val2, strict, memos, kNoIterator);
210+
// }
210211
if (isDate(val1)) {
211212
if (!isDate(val2) || Date.prototype.getTime.call(val1) !== Date.prototype.getTime.call(val2)) {
212213
return false;

0 commit comments

Comments
 (0)