Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/betomoedano/JavaScript-Coding-Interview-Questions
/
Class
stacks/queue-via-stacks.js:1–1 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
MyQueue {
2
constructor() {
3
this.stackNewest =
new
Stack();
4
this.stackOldest =
new
Stack();
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected