main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
734 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var getBuiltIn = require('../internals/get-built-in');
|
---|
3 | var uncurryThis = require('../internals/function-uncurry-this');
|
---|
4 | var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');
|
---|
5 | var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
|
---|
6 | var anObject = require('../internals/an-object');
|
---|
7 |
|
---|
8 | var concat = uncurryThis([].concat);
|
---|
9 |
|
---|
10 | // all object keys, includes non-enumerable and symbols
|
---|
11 | module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
---|
12 | var keys = getOwnPropertyNamesModule.f(anObject(it));
|
---|
13 | var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
---|
14 | return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
---|
15 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.