loading...

re: Need help understanding: Filtering an array of objects in Javascript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: includes returns a boolean value but forEach does not (or rather, it returns undefined). So the result of the includes call is simply thrown away i...
 

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

Code of Conduct Report abuse