JS built in number sum function

前端 未结 0 1838
名媛妹妹
名媛妹妹 2021-01-06 08:49

Does JS have a number sum method? i.e., Math.sum(num1,num2) or something?

The reason is that I have 2 arrays of like 10 elements each, and I want to combine them into

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