mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 11:20:19 +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;
|
|
};
|