Pass two values in one function as sum(1)(2) // 3 (result)

后端 未结 0 1868
说谎
说谎 2021-02-01 17:24

I need to sum the numbers, and get the result as the sum of two numbers passed. How can we pass two values and get the sum?

sum(1)(2) => 3 (result)

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