MCPcopy Create free account
hub / github.com/dop251/goja / descriptiveString

Method descriptiveString

value.go:1153–1159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1151}
1152
1153func (s *Symbol) descriptiveString() String {
1154 desc := s.desc
1155 if desc == nil {
1156 desc = stringEmpty
1157 }
1158 return asciiString("Symbol(").Concat(desc).Concat(asciiString(")"))
1159}
1160
1161func funcName(prefix string, n Value) String {
1162 var b StringBuilder

Callers 4

toStringFunction · 0.80
deleteSymMethod · 0.80
defineOwnPropertySymMethod · 0.80
symbolproto_tostringMethod · 0.80

Calls 2

asciiStringTypeAlias · 0.85
ConcatMethod · 0.65

Tested by

no test coverage detected