Abstract
The HTMLElement node class
The Text node class
The Document class
This.list is a special ListItem whose next property points to the head of the list and whose prev property points to the tail. This lets us relink the head and tail items in the same way as any other item in the list, without having to handle special cases.
Pop the end item off the list and return its data
The data from the last item in the list
Remove an item from the head of the list and return its data
The data from the first item in the list
The MathList abstract class (extends LinkedList)