Answer the question
In order to leave comments, you need to log in
Make a block with a semicircular cutout on top?
How to create a block with this cutout at the top?
Thank you for your attention!
Answer the question
In order to leave comments, you need to log in
const filtered = obj.people.filter((p) => {
for (let el of arr) {
if (el.menId === p.data.menId && el.firstName === p.data.firstName) {
return true
}
}
return false
})
First, determine what is "right" for you.
Without this, the only general "correctness" is that the result should be what you need. This can be done as you like, even with your hands or, for example, as you wrote above.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question