Opal-Estate-Pro/node_modules/core-js/modules/es6.object.get-own-property-descriptor.js

10 lines
342 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
var toIObject = require('./_to-iobject');
var $getOwnPropertyDescriptor = require('./_object-gopd').f;
require('./_object-sap')('getOwnPropertyDescriptor', function () {
return function getOwnPropertyDescriptor(it, key) {
return $getOwnPropertyDescriptor(toIObject(it), key);
};
});