Skip to content

Commit 2ae6107

Browse files
authored
Merge pull request #1359 from le0nik/fix-tostring-ie
Fix "TypeError: Invalid calling object" error in IE11 (Fixes #1358)
2 parents 8f7f4a3 + f8ab36c commit 2ae6107

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/eq.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ function eq(a, b, aStack?, bStack?) {
2323
return deepEq(a, b, aStack, bStack)
2424
}
2525

26+
var toString = Object.prototype.toString
27+
2628
// Internal recursive comparison function for `isEqual`.
2729
function deepEq(a, b, aStack?, bStack?) {
2830
// Unwrap any wrapped objects.

0 commit comments

Comments
 (0)