a825024e5d65d79c889e19fc3908be26a65e2fffa95108b0b8d9687dde6a8eaf05950c24d727227b0e40e7e5cb976c00a176bf36f765faff670b0e32ac1438 394 B

12345678910
  1. 'use strict';
  2. var uncurryThis = require('../internals/function-uncurry-this');
  3. var aCallable = require('../internals/a-callable');
  4. module.exports = function (object, key, method) {
  5. try {
  6. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  7. return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
  8. } catch (error) { /* empty */ }
  9. };