es6.reflect.get-own-property-descriptor.js 354 B

12345678910
  1. // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
  2. var gOPD = require('./_object-gopd');
  3. var $export = require('./_export');
  4. var anObject = require('./_an-object');
  5. $export($export.S, 'Reflect', {
  6. getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {
  7. return gOPD.f(anObject(target), propertyKey);
  8. }
  9. });