MCPcopy Create free account
hub / github.com/careercup/CtCI-6th-Edition-JavaScript / constructor

Method constructor

chapter02/util/LinkedListX.js:17–20  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

15
16class Node {
17 constructor(value) {
18 this.value = value
19 this.next = null;
20 }
21 }
22
23 class LinkedList {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected