O'Reilly logo
  • Patrick S thinks this is interesting:

push that allows us to add new elements to the end of the array


Cover of Learning JavaScript Data Structures and Algorithms


Push <add to end>, Pop <remove from end>, Shift <remove from beginning>, Unshift <inserts value at start of>, Splice <remove from position/index> = methods to manipulate array objects