mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
18 lines
514 B
JavaScript
18 lines
514 B
JavaScript
define(['./_overArg'], function(overArg) {
|
|
|
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
var nativeKeys = Object.keys;
|
|
|
|
/**
|
|
* The base implementation of `_.keys` which doesn't skip the constructor
|
|
* property of prototypes or treat sparse arrays as dense.
|
|
*
|
|
* @private
|
|
* @param {Object} object The object to query.
|
|
* @returns {Array} Returns the array of property names.
|
|
*/
|
|
var baseKeys = overArg(nativeKeys, Object);
|
|
|
|
return baseKeys;
|
|
});
|