Learn JavaScript

Lesson 8 of 9 · Arrays and the Array Methods: The map, filter, reduce Pipeline

Module 7 · Arrays and the Array Methods: The map, filter, reduce Pipeline

Cheat Sheet: Every Array Method on One Page

ProReading

Keep this page open while you solve the problems of this module. The first table answers "does it change my array?", the most common source of array bugs. The second lists every method with what it returns and what it costs.

Checking what this lesson needs for you…

What is inside Cheat Sheet: Every Array Method on One Page

  1. Changes the array, or returns a new one
  2. Every method on one table

Module test

Ten questions on this module. Pass at 70%, and you can take it as many times as you like.

Take the module test