Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion itsy-bitsy-data-structures.js
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,6 @@ class LinkedList {
// We'll set the "next" field to the current head and then replace it with
// our new node.
if (position === 0) {
node.next = this.head;
this.head = node;

// If we're adding a node in any other position we need to splice it in
Expand Down