()
| 65 | } |
| 66 | |
| 67 | popFirst() { |
| 68 | let first = this.head; |
| 69 | if (this.head && this.head.next) { |
| 70 | this.head = this.head.next; |
| 71 | first.next = null; |
| 72 | } |
| 73 | else this.head = null; |
| 74 | return first; |
| 75 | } |
| 76 | |
| 77 | head() { |
| 78 | return this.head; |
nothing calls this directly
no outgoing calls
no test coverage detected