main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
494 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | 'use strict';
|
---|
| 2 | var internalObjectKeys = require('../internals/object-keys-internal');
|
---|
| 3 | var enumBugKeys = require('../internals/enum-bug-keys');
|
---|
| 4 |
|
---|
| 5 | var 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
|
---|
| 10 | exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
---|
| 11 | return internalObjectKeys(O, hiddenKeys);
|
---|
| 12 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.