Method

Operating on arrays offers O(1) search speed if the index is known, but adding/removing an element is slow since size of array cannot change once it's created

  • note: is this relevant for Javascript?

forEach is almost always used for side-effects at the end of a chain


Children
  1. Map
  2. Reduce
  3. Slice
  4. Sort