Remove unhit condition in getNative.

This commit is contained in:
John-David Dalton
2016-02-23 20:13:08 -08:00
parent c88c7ff6bb
commit a578935621

View File

@@ -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;
}