es6.reflect.get-own-property-descriptor.js
349 Bytes
// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
var $ = require('./$')
, $export = require('./$.export')
, anObject = require('./$.an-object');
$export($export.S, 'Reflect', {
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
return $.getDesc(anObject(target), propertyKey);
}
});