From 792347978ae7015e1190fc25d86a15ff237eec18 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 27 Mar 2016 13:35:14 -0700 Subject: [PATCH] Add shim path back to `_.isEmpty`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 4ccbd6b9f..2aa513389 100644 --- a/lodash.js +++ b/lodash.js @@ -10410,7 +10410,7 @@ return false; } } - return true; + return !(nonEnumShadows && keys(value).length); } /**