Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.js
File · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected