Private
_firstPrivate
_lastPrivate
_sizeThe length of the list.
Constant.
This is equivalent to size
.
This property is deprecated.
Create an iterator over the values in the list.
A new iterator starting with the first value.
Constant.
Assign new values to the list, replacing all current values.
Create an iterator over the nodes in the list.
A new iterator starting with the first node.
Constant.
Remove and return the value at the end of the list.
The removed value, or undefined
if the list is empty.
Constant.
This is equivalent to removeLast
.
Add a value to the end of the list.
Remove and return the value at the beginning of the list.
The removed value, or undefined
if the list is empty.
Constant.
Remove and return the value at the end of the list.
The removed value, or undefined
if the list is empty.
Constant.
Create a reverse iterator over the values in the list.
A new iterator starting with the last value.
Constant.
Create a reverse iterator over the nodes in the list.
A new iterator starting with the last node.
Constant.
Add a value to the beginning of the list.
The value to add to the beginning of the list.
Constant.
This is equivalent to addFirst
.
Remove and return the value at the beginning of the list.
The removed value, or undefined
if the list is empty.
Constant.
This is equivalent to removeFirst
.
A generic doubly-linked list.