get-own-property-descriptor.js 378 B

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