Bump to v4.13.0.

This commit is contained in:
John-David Dalton
2016-05-18 16:00:35 -07:00
parent 07c844053e
commit 35cdf6513b
513 changed files with 2603 additions and 2423 deletions

View File

@@ -1,4 +1,5 @@
import isNative from './isNative';
import baseIsNative from './_baseIsNative.js';
import getValue from './_getValue.js';
/**
* Gets the native function at `key` of `object`.
@@ -9,8 +10,8 @@ import isNative from './isNative';
* @returns {*} Returns the function if it's native, else `undefined`.
*/
function getNative(object, key) {
var value = object[key];
return isNative(value) ? value : undefined;
var value = getValue(object, key);
return baseIsNative(value) ? value : undefined;
}
export default getNative;