|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
394 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var uncurryThis = require('../internals/function-uncurry-this');
|
|---|
| 3 | var aCallable = require('../internals/a-callable');
|
|---|
| 4 |
|
|---|
| 5 | module.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.