Opal-Estate-Pro/node_modules/core-js/modules/_object-gopn.js
2019-09-13 11:27:52 +07:00

8 lines
288 B
JavaScript

// 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);
};