next : Object Next element in the list. Source code:
last : Object Last element in the list. Source code:
total : integer Number of elements in the list. Source code:
first : Object First element in the list. Source code:
callAll(callback) Calls a function on all members of this list, using the member as the context for the callback.The function
reset() Resets the first, last, next and previous node pointers in this list. Source
prev : Object Previous element in the list. Source code:
new LinkedList() A basic Linked List data structure. This implementation modifies the prev and next
remove(item) Removes the given element from this linked list if it exists. Parameters
add(item) → {object} Adds a new element to this linked list. Parameters