Fix recent typo in isEqual.

Former-commit-id: 84cdf90de59c8184a0ac1f78704f61dcc88c91f1
This commit is contained in:
John-David Dalton
2012-07-25 01:33:16 -07:00
parent 0d7bdb6fa8
commit 4ff12e0426
3 changed files with 66 additions and 66 deletions

View File

@@ -2985,7 +2985,7 @@
stack.push(a);
// recursively compare objects and arrays (susceptible to call stack limits)
if (arrayLikeClasses[className] || (noArgsClass && isArguments(value))) {
if (arrayLikeClasses[className] || (noArgsClass && isArguments(a))) {
// compare lengths to determine if a deep comparison is necessary
size = a.length;
result = size == b.length;