Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ String
Method
String
string_unicode.go:274–279 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
272
}
273
274
func
(b *StringBuilder) String() String {
275
if
b.ascii() {
276
return
asciiString(b.asciiBuilder.String())
277
}
278
return
b.unicodeBuilder.String()
279
}
280
281
func
(b *StringBuilder) Grow(n int) {
282
if
b.ascii() {
Callers
15
funcName
Function · 0.95
TestStringBuilder
Function · 0.95
TestValueStringBuilder
Function · 0.95
regexpproto_toString
Method · 0.95
regexpproto_getSource
Method · 0.95
regexpproto_stdReplacerGeneric
Method · 0.95
arrayproto_join
Method · 0.95
arrayproto_toLocaleString
Method · 0.95
string_fromcodepoint
Method · 0.95
string_raw
Method · 0.95
stringReplace
Method · 0.95
typedArrayProto_join
Method · 0.95
Calls
3
ascii
Method · 0.95
asciiString
TypeAlias · 0.85
String
Method · 0.65
Tested by
2
TestStringBuilder
Function · 0.76
TestValueStringBuilder
Function · 0.76