Reduce function javascript

前端 未结 0 1471
旧巷少年郎
旧巷少年郎 2021-02-07 05:02

I want to sum one \'y\' variable when \'x\' has the same value but in a different object, im using the function reduce in order to achieve it but when i check the console it out

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