Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ toString
Method
toString
benchmark/data-min.js:569–574 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
567
);
568
}
569
toString() {
570
let
t = this.intro,
571
e = this.firstChunk;
572
for
(; e; ) ((t += e.toString()), (e = e.next));
573
return
t + this.outro;
574
}
575
isEmpty() {
576
let
t = this.firstChunk;
577
do
Callers
1
hasChanged
Method · 0.95
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected