Files
lodash/_baseKeys.js
John-David Dalton a8d3718760 Bump to v4.14.0.
2016-07-24 09:52:33 -07:00

17 lines
490 B
JavaScript

var overArg = require('./_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);
module.exports = baseKeys;