how do i filter a array of objects to display only ids of the ones that have all existing type properties

前端 未结 0 1122
我在风中等你
我在风中等你 2021-02-02 00:03

im getting data from an API that looks like this:

const flags = [
  {
    type: "manyCards",
    id: 1
  },
  {
    type: "manyCards",
    id:         


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