From 2cae3245aadd979b378a98c6c67c9fe434a7b29d Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 22 Jun 2014 02:36:24 -0700 Subject: [PATCH] Make make nullish check consistent in `_.isEmpty`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index dcaf0f0eb..149992002 100644 --- a/lodash.js +++ b/lodash.js @@ -6566,7 +6566,7 @@ */ function isEmpty(value) { var result = true; - if (!value) { + if (value == null) { return result; } var length = value.length;