From a578935621a9cbd4f632363c11947717272867c8 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 23 Feb 2016 20:13:08 -0800 Subject: [PATCH] Remove unhit condition in `getNative`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 8726dac11..576c2d629 100644 --- a/lodash.js +++ b/lodash.js @@ -4956,7 +4956,7 @@ * @returns {*} Returns the function if it's native, else `undefined`. */ function getNative(object, key) { - var value = object == null ? undefined : object[key]; + var value = object[key]; return isNative(value) ? value : undefined; }