How to Group JavaScript Array of Object based on key

后端 未结 0 1682
遥遥无期
遥遥无期 2020-12-02 11:37

So I have a data like this

const carts = [
  {
    name: \'Voucher A\',
    participants: [
      {
        date: 1
      },
      {
        date: 2
      }
          


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