qauMaWeb/node_modules/core-js/internals/get-method.js

9 lines
239 B
JavaScript
Raw Permalink Normal View History

2024-10-13 18:02:27 +08:00
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);
};