first
This commit is contained in:
10
node_modules/core-js/internals/function-uncurry-this-accessor.js
generated
vendored
Normal file
10
node_modules/core-js/internals/function-uncurry-this-accessor.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'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 */ }
|
||||
};
|
Reference in New Issue
Block a user