Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/JavaScript
/ Node
Class
Node
Data-Structures/Linked-List/DoublyLinkedList.js:1–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
Node {
2
constructor(element) {
3
this.element = element
4
this.next = null
5
this.prev = null
6
}
7
}
8
9
class
DoubleLinkedList {
10
constructor() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected