Javascript Basics - Looping Over Array - Filter Method

Looping Over Array Using Filter Method in a Javascript Object

Usage: Copy and paste the code below into a .html page on your local server and call the page. From there you'll need to open the Devtools (or whatever panel your browser uses) so that you can display and interact with the Javascript console. The code is commented to help you understand as much as possible, so be sure to utilize the comments in context, it will help everything make better sense.