how to filter an nested objects inside an array in javascript

前端 未结 0 1100
暗喜
暗喜 2021-02-05 22:18

I have the following nested objects in an array and i want to filter the result to return the id of a specific item.

const data = [
   {0: {id: 1, country: "         


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