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

Method constructor

chapter02/util/LinkedListX.js:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23 class LinkedList {
24 constructor() {
25 this.head = null;
26 this.tail = null;
27 }
28
29 append(value) {
30 let node = new Node(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected