1234567891011 |
- var getBuiltIn = require('../internals/get-built-in');
- var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');
- var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
- var anObject = require('../internals/an-object');
- // all object keys, includes non-enumerable and symbols
- module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
- var keys = getOwnPropertyNamesModule.f(anObject(it));
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
- };
|