mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
12 lines
616 B
JavaScript
12 lines
616 B
JavaScript
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;
|
|
};
|