11 lines
354 B
JavaScript
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);
|
|
}
|
|
});
|