mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 22:27:22 -04:00
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;
|