github-pages-deploy-action/node_modules/core-js-pure/internals/object-get-own-property-names.js

11 lines
418 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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);
};