The best way to get comfortable with these methods is to practice them, so we will!
You'll be with a partner in a breakout room to work through some practice problems. Assign one person to be the driver and the other to be the navigator. It might be helpfulful to switch these roles off and on so you have the opportunity to be both!
- Work through the array prototypes in this order:
filter
map
reduce
sort
forEach
- Open the markdown file (example:
filter.md
) - Copy the data and prompt into your array prototype methods scratchpad file in VS Code (within your SE-Mod2-exercises repo)
- Work through the exercises with your partner
- Repeat!