UNPKG
@coremail/core-js
Version:
latest (3.20.3-fix-avoid-third-party-bind)
3.20.3-fix-avoid-third-party-bind
Standard library
github.com/zloirock/core-js
zloirock/core-js
@coremail/core-js
/
internals
/
get-method.js
9 lines
(7 loc)
•
239 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
var
aCallable =
require
(
'../internals/a-callable'
);
// `GetMethod` abstract operation
// https://tc39.es/ecma262/#sec-getmethod
module
.
exports
=
function
(
V, P
) {
var
func = V[P];
return
func ==
null
?
undefined
:
aCallable
(func); };