Lodash convert array of object to different structure

后端 未结 0 681
眼角桃花
眼角桃花 2020-11-30 18:57

How can I transform from the old nested object array to the new flater one.

const old = [{
  userId: string,
  quiz: [{
    quizId:          


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