Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/bcoin-org/bcoin
/ clone
Method
clone
lib/script/stack.js:122–124 ·
view source on GitHub ↗
* Clone the stack. * @returns {Stack} Cloned stack.
()
Source
from the content-addressed store, hash-verified
120
*/
121
122
clone() {
123
return
new
this.constructor(this.items.slice());
124
}
125
126
/**
127
* Clear the stack.
Callers
1
verify
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected