Filter an element in an object in an array in an array

前端 未结 0 1112
傲寒
傲寒 2021-01-25 12:05

I\'m struggling to find the index of the array that has id === 3.

const id = 3;
const bigList = [
  [
    { id: "1", foo: "a" },
         


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