MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / toString

Method toString

benchmark/data.js:701–709  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

699 return true;
700 }
701 toString() {
702 let str = this.intro;
703 let chunk = this.firstChunk;
704 while (chunk) {
705 str += chunk.toString();
706 chunk = chunk.next;
707 }
708 return str + this.outro;
709 }
710 isEmpty() {
711 let chunk = this.firstChunk;
712 do {

Callers 2

mainFunction · 0.95
hasChangedMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected