debian-mirror-gitlab/core-js/es/object/get-own-property-descriptor.js
2019-09-25 13:30:05 +05:30

10 lines
364 B
JavaScript

require('../../modules/es.object.get-own-property-descriptor');
var path = require('../../internals/path');
var Object = path.Object;
var getOwnPropertyDescriptor = module.exports = function getOwnPropertyDescriptor(it, key) {
return Object.getOwnPropertyDescriptor(it, key);
};
if (Object.getOwnPropertyDescriptor.sham) getOwnPropertyDescriptor.sham = true;