Answer the question
In order to leave comments, you need to log in
How to filter one array depending on another array of arrays?
Hello, I have an array of objects like this:
[
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
}
]
[
[
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
},
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
},
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
}
],
[
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
},
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
},
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
}
],
[
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
},
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
},
{
id: 1,
name: '1'
},
{
id: 2,
name: '3'
},
{
id: 2,
name: '3'
}
]
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question