Mark As Completed Discussion

Since linked lists require nodes, we will need a Node class. In each node, we have our values and our reference to the next node. If this is unfamiliar to you, I'd recommend checking out the Node Manipulation section on the site. We can use that Node definition to start setting up the class.

1class StackLL {
2    constructor() {
3        this.top = null;
4    }
5}