From 6af7fac344c7250e31e292e700bd52230f130d75 Mon Sep 17 00:00:00 2001 From: jdalton Date: Thu, 14 May 2015 21:27:11 -0700 Subject: [PATCH] Minor style nit in `_.isObject`. --- lodash.src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.src.js b/lodash.src.js index 866c4f778..aaefaf3b2 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -8880,7 +8880,7 @@ // Avoid a V8 JIT bug in Chrome 19-20. // See https://code.google.com/p/v8/issues/detail?id=2291 for more details. var type = typeof value; - return type == 'function' || (!!value && type == 'object'); + return !!value && (type == 'object' || type == 'function'); } /**