From the course: JavaScript: Building Linked Lists Data Structures
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Solution - JavaScript Tutorial
From the course: JavaScript: Building Linked Lists Data Structures
Solution
(upbeat music) - [Instructor] Here is a solution code. As you can see on lines 56 through 60, this is one way to solve the challenge. And don't forget to add the console.log so that you can double-check that your DoublyLinkedList has indeed been updated.