reduce array of array into a flat array of object

后端 未结 0 1136
感动是毒
感动是毒 2020-12-29 16:51

I\'m stuck at transforming a data structure:

let d = [{ no: 1, score: 7000 },
    { no: 2, score: 10000 },
   [ { no: 1, score: 8500 },
    { no: 2, score: 65         


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