From 9c05e8392b0f17d00216f582c39db9c6a736e605 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 27 Jul 2016 11:42:50 -0700 Subject: [PATCH] Add `stack.delete` for `other` in `equalArrays` and `equalObjects`. --- lodash.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lodash.js b/lodash.js index fa7907a5f..792cf41c6 100644 --- a/lodash.js +++ b/lodash.js @@ -5288,6 +5288,7 @@ } } stack['delete'](array); + stack['delete'](other); return result; } @@ -5448,6 +5449,7 @@ } } stack['delete'](object); + stack['delete'](other); return result; }