From 782df659bcd939b5cd069e63609fb9ce4d2f8858 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 17 Oct 2012 23:26:16 -0700 Subject: [PATCH] Fix typo in `_.where`. Former-commit-id: e4da5a993a26eb3e408c9a2ddd408ee785671088 --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index d975317a8..0848dd05c 100644 --- a/lodash.js +++ b/lodash.js @@ -2495,7 +2495,7 @@ result = []; forEach(collection, function(value) { - var index = -1, passed = true; + var index = -1; while (++index < length) { var prop = props[index], pass = value[prop] === properties[prop];