object-keys.js 352 B

123456789
  1. var internalObjectKeys = require('../internals/object-keys-internal');
  2. var enumBugKeys = require('../internals/enum-bug-keys');
  3. // `Object.keys` method
  4. // https://tc39.es/ecma262/#sec-object.keys
  5. // eslint-disable-next-line es-x/no-object-keys -- safe
  6. module.exports = Object.keys || function keys(O) {
  7. return internalObjectKeys(O, enumBugKeys);
  8. };