|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
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.