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

Function unknownStringTypeErr

string.go:337–339  ·  view source on GitHub ↗
(v Value)

Source from the content-addressed store, hash-verified

335}
336
337func unknownStringTypeErr(v Value) interface{} {
338 return newTypeError("Internal bug: unknown string type: %T", v)
339}
340
341// StringFromUTF16 creates a string value from an array of UTF-16 code units. The result is a copy, so the initial
342// slice can be modified after calling this function (but it must not be modified while the function is running).

Callers 3

devirtualizeStringFunction · 0.85
stringproto_normalizeMethod · 0.85
execMethod · 0.85

Calls 1

newTypeErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…