_getAllKeys.js 453 B

12345678910111213141516
  1. import baseGetAllKeys from './_baseGetAllKeys.js';
  2. import getSymbols from './_getSymbols.js';
  3. import keys from './keys.js';
  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. export default getAllKeys;