MrShi
2025-07-04 a2958a11812db98d940c88ec50082ea778d7fe67
1
2
3
4
5
6
7
8
'use strict';
module.exports = function (methodName, numArgs) {
  return numArgs === 1 ? function (object, arg) {
    return object[methodName](arg);
  } : function (object, arg1, arg2) {
    return object[methodName](arg1, arg2);
  };
};