Posts Tagged Under: Arrays

Array Methods

These are the most commonly used Array methods;

  • Push and Pop – Add/Remove from the end of an array
  • Shift and Unshift – Remove/Add from the start of an array
  • IndexOf – Will find the index of a value within the array
  • Slice – Used to copy parts of an array