Simplify getNative.

This commit is contained in:
John-David Dalton
2016-05-20 21:21:04 -07:00
parent d4d4390846
commit 077fb89083

View File

@@ -5415,7 +5415,7 @@
*/
function getNative(object, key) {
var value = getValue(object, key);
return (isMaskable(value) ? baseIsNative : isNative)(value) ? value : undefined;
return baseIsNative(value) ? value : undefined;
}
/**