massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / get-method.js
1 var aCallable = require('../internals/a-callable');
2
3 // `GetMethod` abstract operation
4 // https://tc39.es/ecma262/#sec-getmethod
5 module.exports = function (V, P) {
6   var func = V[P];
7   return func == null ? undefined : aCallable(func);
8 };