get-own-property-descriptor.js 364 B

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