For this assignment I specifically want you to use the higher-order array methods we learned about yesterday: filter, map, reduce, flatMap, every, and some. Each of the functions you are asked to write in this assignment can be written using a single expression involving one or more of those methods. I.e. you should not need to write any loops or if statements. It also means if you want you can use the shorthand function form and write each of these in one line of code. If you want to write named helper functions instead of passing anonymous functions, that's fine.

Put definitions here.

Revisions: