source: node_modules/core-js-pure/internals/function-uncurry-this-accessor.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 394 bytes
RevLine 
[d24f17c]1'use strict';
2var uncurryThis = require('../internals/function-uncurry-this');
3var aCallable = require('../internals/a-callable');
4
5module.exports = function (object, key, method) {
6 try {
7 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
8 return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
9 } catch (error) { /* empty */ }
10};
Note: See TracBrowser for help on using the repository browser.