Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ length
Method
length
benchmark/data-min.js:813–815 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
811
);
812
}
813
length() {
814
return
this.sources.reduce((t, e) => t + e.content.length(), this.intro.length);
815
}
816
trimLines() {
817
return
this.trim(
'[\\r\\n]'
);
818
}
Callers
nothing calls this directly
Calls
1
length
Method · 0.45
Tested by
no test coverage detected