JS: Explaining the usage of currying vs multi-args

后端 未结 0 598
滥情空心
滥情空心 2020-12-16 02:26

If I chose to curry this function:

function mult(a,b,c) {
    return a * b * c;
}   

into :

function mult(a) {
   return funct         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题