some helpful links: these examples side-by-side on JS Tutor

Mutating Array Methods

(modify the original array)

  1. print the array: (read the docs)
  2. add to the end:
    (read the docs)
  3. remove from the end: (read the docs)
  4. add to the beginning:
    (read the docs)
  5. remove from the beginning: (read the docs)
  6. reverse the array: (read the docs)
  7. sort the array: (read the docs)
  8. remove entries:
    (read the docs)

Mutating Array History

Non-Mutating Array Methods

(create a new, modified array)

  1. print the original array: (read the docs: Array)
  2. add to the end:
  3. remove from the end: (read the docs: .slice())
  4. add to the beginning:
  5. remove from the beginning:
  6. reverse the array: (read the docs: .reverse())
  7. sort the arrray: (read the docs: .sort())
  8. remove entries:

Non-Mutating Array History