_getAllKeys.js 455B

1234567891011121314151617
  1. var baseGetAllKeys = require('./_baseGetAllKeys'),
  2. getSymbols = require('./_getSymbols'),
  3. keys = require('./keys');
  4. /**
  5. * Creates an array of own enumerable property names and symbols of `object`.
  6. *
  7. * @private
  8. * @param {Object} object The object to query.
  9. * @returns {Array} Returns the array of property names and symbols.
  10. */
  11. function getAllKeys(object) {
  12. return baseGetAllKeys(object, keys, getSymbols);
  13. }
  14. module.exports = getAllKeys;