DEV Community

Discussion on: Need help understanding: Filtering an array of objects in Javascript

Collapse
 
leanminmachine profile image
leanminmachine

Hahhaa for the menuEntities yeah I'll definitely have to use .some if there's more than one.. Thanks for the reminder & explanation, makes sense that the results of includes is thrown away with forEach