(item)
| 295 | // Appends an item to the end of the linked list, adjusting the current tail's |
| 296 | // next pointer and the item's previous pointer where applicable |
| 297 | append(item) { |
| 298 | if (this.tail !== null) { |
| 299 | this.tail._idleNext = item; |
| 300 | item._idlePrev = this.tail; |
| 301 | } else { |
| 302 | this.head = item; |
| 303 | } |
| 304 | this.tail = item; |
| 305 | } |
| 306 | |
| 307 | // Removes an item from the linked list, adjusting the pointers of adjacent |
| 308 | // items and the linked list's head or tail pointers as necessary |
no outgoing calls
no test coverage detected