Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wangzheng0822/algo
/ displayAllStack
Method
displayAllStack
javascript/08_stack/SampleBrowser.js:40–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
}
39
// 打印栈内数据
40
displayAllStack() {
41
console.log(
'---后退页面---'
)
42
this.backStack.display()
43
console.log(
'---浏览页面---'
)
44
this.normalStack.display()
45
}
46
}
47
// Test
48
const
browser =
new
SampleBrowser()
Callers
3
pushNormal
Method · 0.95
back
Method · 0.95
front
Method · 0.95
Calls
1
display
Method · 0.45
Tested by
no test coverage detected