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

Method enqueue

chapter03/util/Queue.js:9–11  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

7 }
8
9 enqueue(value) {
10 this._list.append(value);
11 }
12
13 dequeue() {
14 let node = this._list.popFirst();

Callers 1

animalShelter.jsFile · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected