mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
11 lines
418 B
JavaScript
11 lines
418 B
JavaScript
|
var internalObjectKeys = require('../internals/object-keys-internal');
|
||
|
var enumBugKeys = require('../internals/enum-bug-keys');
|
||
|
|
||
|
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
||
|
|
||
|
// `Object.getOwnPropertyNames` method
|
||
|
// https://tc39.github.io/ecma262/#sec-object.getownpropertynames
|
||
|
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
||
|
return internalObjectKeys(O, hiddenKeys);
|
||
|
};
|