Array Methods

  • map

  • filter

  • reduce

Map

Transform Each Item

  • from array of n length containing x's
  • to array of n length containing y's
items.map(x => x * x)

Map

Transform Each Item

  • from array of n length containing x's
  • to array of n length containing y's
items.map(x => x * x)

Array Methods

By Bruce Campbell

Array Methods

  • 591