hexo/node_modules/core-js/modules/_object-gopn.js

8 lines
295 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
var $keys = require('./_object-keys-internal');
var hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return $keys(O, hiddenKeys);
};