How to add a field to each object in array and push that result array to another array using react and javascript?

前端 未结 0 1580
终归单人心
终归单人心 2021-01-27 20:57

i want to add a field type to each object in an array and push the result to another array and push that to another array.

below is how the array of object looks,

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