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