Appends the specified element to the end of this list (optional operation). . (In other words, this method must allocate a new array even if this list is backed by an. The list methods are all instance methods, that is, they operate on a particular instance of a list. For example, the following removes all elements from myList. As a way of kickstarting documentation, this writes the list of methods to a text file. Lodash templates are used to generate the file, so the output is completely.