mirror of https://github.com/jkjoy/sunpeiwen.git
11 lines
364 B
JavaScript
11 lines
364 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);
|
|
}
|
|
});
|