Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ String
Method
String
object_goreflect_test.go:1350–1352 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1348
type
testStringS string
1349
1350
func
(testStringS) String() string {
1351
return
"S"
1352
}
1353
1354
func
TestGoReflectToPrimitive(t *testing.T) {
1355
vm := New()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected