Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
616 bytes
|
Line | |
---|
1 | var getBuiltIn = require('../internals/get-built-in');
|
---|
2 | var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');
|
---|
3 | var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
|
---|
4 | var anObject = require('../internals/an-object');
|
---|
5 |
|
---|
6 | // all object keys, includes non-enumerable and symbols
|
---|
7 | module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
---|
8 | var keys = getOwnPropertyNamesModule.f(anObject(it));
|
---|
9 | var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
---|
10 | return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
|
---|
11 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.