https://github.com/thuyanduong-flatiron/cereals
- functions as variables
- Working with functions... that operate on functions!
- .forEach, .map, .filter, .find, .reduce
- map?
- filter?
- find?
- reduce?
- as declarations
- as expressions
- a arrow functions
Let's learn about cereal.
Goals:
- How many cereals in our data?
- Just the name of all the cereals?
- All cereals by a certain manufacturer?
- The names of all cereals manufactured by General Mills?
- Any cereal with calories between 80 and 100?
- All cereals with calories between 80 and 100?
- Sum of ratings?
- Average rating?
- Sort by calories?
- And what about that mysterious e parameter?