Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmartTokenLabs/TokenScript
/ replace_all
Method
replace_all
bootstrap-js/tokenscript-bootstrap.js:1010–1012 ·
view source on GitHub ↗
(str,src, dst)
Source
from the content-addressed store, hash-verified
1008
replace all
"src"
sub-strings with
"dst"
1009
*/
1010
replace_all(str,src, dst){
1011
return
str.split(src).join(dst);
1012
}
1013
1014
decodeHtml(html) {
1015
var
txt = document.createElement(
"textarea"
);
Callers
1
render
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected