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