Loops

General Info

.map() will do something to a loop collection and create a new collection from the changed items.

.filter() will test each item and create a new collection containing matches. Difference between them is that filter will return a boolean.