Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ toString
Method
toString
benchmark/data.js:97–99 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
95
return
newChunk;
96
}
97
toString() {
98
return
this.intro + this.content + this.outro;
99
}
100
trimEnd(rx) {
101
this.outro = this.outro.replace(rx,
''
);
102
if
(this.outro.length)
return
true;
Callers
3
data.js
File · 0.45
toString
Method · 0.45
toString
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected