Array Cardio (2)

Check the console for the array results. Below is a few notes on some of the methods.

.some()


The some() method will check that at least one thing in your array meets what you're looking for.

.every()


The every() method will check that all items in array meet what you're looking for.

.find()


The find() method is like filter, but instead returns just the one you are looking for.

.findIndex()


The findIndex() method will find where something is an array (it's position).