source: trip-planner-front/node_modules/core-js/internals/own-keys.js@ e29cc2e

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 
1var getBuiltIn = require('../internals/get-built-in');
2var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');
3var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
4var anObject = require('../internals/an-object');
5
6// all object keys, includes non-enumerable and symbols
7module.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.