清空
This commit is contained in:
1 parent
7c2ab0b7ad
commit
cff33ad7d1
6370 files changed
+378844
-82245
No files matched your search
+8
@@ -0,0 +1,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);
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user