mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import overArg from './_overArg.js';
|
||||
|
||||
/* Built-in method references for those with the same name as other `lodash` methods. */
|
||||
var nativeGetPrototype = Object.getPrototypeOf;
|
||||
|
||||
@@ -8,8 +10,6 @@ var nativeGetPrototype = Object.getPrototypeOf;
|
||||
* @param {*} value The value to query.
|
||||
* @returns {null|Object} Returns the `[[Prototype]]`.
|
||||
*/
|
||||
function getPrototype(value) {
|
||||
return nativeGetPrototype(Object(value));
|
||||
}
|
||||
var getPrototype = overArg(nativeGetPrototype, Object);
|
||||
|
||||
export default getPrototype;
|
||||
|
||||
Reference in New Issue
Block a user