package.internals.function-uncurry-this-accessor.js Maven / Gradle / Ivy
The newest version!
'use strict';
var uncurryThis = require('../internals/function-uncurry-this');
var aCallable = require('../internals/a-callable');
module.exports = function (object, key, method) {
try {
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
} catch (error) { /* empty */ }
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy