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

8 lines
288 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00: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);
};