forked from zhurui/management
17 lines
455 B
JavaScript
17 lines
455 B
JavaScript
var baseGetAllKeys = require('./_baseGetAllKeys'),
|
|
getSymbols = require('./_getSymbols'),
|
|
keys = require('./keys');
|
|
|
|
/**
|
|
* Creates an array of own enumerable property names and symbols of `object`.
|
|
*
|
|
* @private
|
|
* @param {Object} object The object to query.
|
|
* @returns {Array} Returns the array of property names and symbols.
|
|
*/
|
|
function getAllKeys(object) {
|
|
return baseGetAllKeys(object, keys, getSymbols);
|
|
}
|
|
|
|
module.exports = getAllKeys;
|