Opal-Estate-Pro/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js
2019-09-13 11:27:52 +07:00

11 lines
354 B
JavaScript

// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
var gOPD = require('./_object-gopd');
var $export = require('./_export');
var anObject = require('./_an-object');
$export($export.S, 'Reflect', {
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {
return gOPD.f(anObject(target), propertyKey);
}
});