How to convert an array of objects back to one object

后端 未结 0 962
梦毁少年i
梦毁少年i 2021-01-25 18:25

I got an array of objects that has the following structure:

const cars = {
  ford: {
    entries: [\'ford 150\']
  },
  chrysler: {
    entries: [\'Voyager\']
  }         


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