Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ ToString
Method
ToString
value.go:710–712 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
708
}
709
710
func
(o *Object) ToString() Value {
711
return
o.toPrimitiveString().ToString()
712
}
713
714
func
(o *Object) String() string {
715
return
o.toPrimitiveString().String()
Callers
nothing calls this directly
Calls
2
toPrimitiveString
Method · 0.95
ToString
Method · 0.65
Tested by
no test coverage detected