Last change
on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
480 bytes
|
Line | |
---|
1 | var internalObjectKeys = require('../internals/object-keys-internal');
|
---|
2 | var enumBugKeys = require('../internals/enum-bug-keys');
|
---|
3 |
|
---|
4 | var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
---|
5 |
|
---|
6 | // `Object.getOwnPropertyNames` method
|
---|
7 | // https://tc39.es/ecma262/#sec-object.getownpropertynames
|
---|
8 | // eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
---|
9 | exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
---|
10 | return internalObjectKeys(O, hiddenKeys);
|
---|
11 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.