From efd29e12cdf9208f8ee59ed67b67efc38633d71b Mon Sep 17 00:00:00 2001 From: Kit Cambridge Date: Sun, 30 Oct 2011 20:45:56 -0600 Subject: [PATCH] `_.isEqual`: Issue #355. --- underscore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/underscore.js b/underscore.js index 934f3f83e..dff3daaf3 100644 --- a/underscore.js +++ b/underscore.js @@ -741,7 +741,7 @@ // Ensure that both objects contain the same number of properties. if (result) { for (key in b) { - if (hasOwnProperty.call(b, key) && !size--) break; + if (hasOwnProperty.call(b, key) && !(size--)) break; } result = !size; }