source: node_modules/core-js-pure/internals/object-get-own-property-names.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 494 bytes
Line 
1'use strict';
2var internalObjectKeys = require('../internals/object-keys-internal');
3var enumBugKeys = require('../internals/enum-bug-keys');
4
5var hiddenKeys = enumBugKeys.concat('length', 'prototype');
6
7// `Object.getOwnPropertyNames` method
8// https://tc39.es/ecma262/#sec-object.getownpropertynames
9// eslint-disable-next-line es/no-object-getownpropertynames -- safe
10exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
11 return internalObjectKeys(O, hiddenKeys);
12};
Note: See TracBrowser for help on using the repository browser.