So I am reading this book called "Eloquent Javascript" and I came across the filter function for finding certain elements that pass the test.