[英]How does args.slice(1) separate the arguments that are passed into PhantomJS and forEach(function(arg, i)… function to work?
[英]How can I call passed in args function with passed in args arguments in Ramda?
我的 function 中有三个 arguments。 第三个参数是 function ,我想用第二个参数的参数调用它。 我有什么办法吗?
callFuncWithArgs(
nthArg(1),
nthArg(2),
)(null, 3, a => a * a) // 9
converge(applyTo, [nthArg(1), nthArg(2)])
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.