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

Method length

benchmark/data-min.js:587–593  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

585 return !0;
586 }
587 length() {
588 let t = this.firstChunk,
589 e = 0;
590 do e += t.intro.length + t.content.length + t.outro.length;
591 while ((t = t.next));
592 return e;
593 }
594 trimLines() {
595 return this.trim('[\\r\\n]');
596 }

Callers 1

lengthMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected