How to destructure an array of objects?

前端 未结 0 912
抹茶落季
抹茶落季 2021-02-03 14:35

I have this array

const lists = [{id: 111, name: "list 1"}, {id: 332, name: \'list 2\'}, ...];

From it, I want to generate an array of

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