Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ String
Method
String
string_unicode.go:494–496 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
492
}
493
494
func
(s unicodeString) String() string {
495
return
string(utf16.Decode(s[1:]))
496
}
497
498
func
(s unicodeString) CompareTo(other String) int {
499
// TODO handle invalid UTF-16
Callers
5
toTrimmedUTF8
Method · 0.95
CompareTo
Method · 0.95
toLower
Method · 0.95
toUpper
Method · 0.95
Export
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected