From 7f23d279a8704c51791375b636ff532b9d476e45 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 31 Oct 2011 10:40:45 -0400 Subject: [PATCH] Fixes #335. --- underscore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/underscore.js b/underscore.js index 1f7df5ad5..80a1867f3 100644 --- a/underscore.js +++ b/underscore.js @@ -732,7 +732,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; }