diff --git a/src/utils/eq.ts b/src/utils/eq.ts index 3e060e6f6..bdcd85fa9 100644 --- a/src/utils/eq.ts +++ b/src/utils/eq.ts @@ -23,6 +23,8 @@ function eq(a, b, aStack?, bStack?) { return deepEq(a, b, aStack, bStack) } +var toString = Object.prototype.toString + // Internal recursive comparison function for `isEqual`. function deepEq(a, b, aStack?, bStack?) { // Unwrap any wrapped objects.