f4b1c280f06ea4181e94dd84988dede0fdfe519e7ca05e76f2f4b5b2d2ff06fde2044a9f4d2991a00315f82ea6301a35c9409b1c4e4fc753cdb599fffe2c40 334 B

12345678910
  1. 'use strict';
  2. var aCallable = require('../internals/a-callable');
  3. var isNullOrUndefined = require('../internals/is-null-or-undefined');
  4. // `GetMethod` abstract operation
  5. // https://tc39.es/ecma262/#sec-getmethod
  6. module.exports = function (V, P) {
  7. var func = V[P];
  8. return isNullOrUndefined(func) ? undefined : aCallable(func);
  9. };