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

Method getStr

destruct.go:57–60  ·  view source on GitHub ↗
(p unistring.String, receiver Value)

Source from the content-addressed store, hash-verified

55}
56
57func (d *destructKeyedSource) getStr(p unistring.String, receiver Value) Value {
58 d.recordKey(stringValueFromRaw(p))
59 return d.w().getStr(p, receiver)
60}
61
62func (d *destructKeyedSource) getIdx(p valueInt, receiver Value) Value {
63 d.recordKey(p.toString())

Callers

nothing calls this directly

Calls 4

recordKeyMethod · 0.95
wMethod · 0.95
stringValueFromRawFunction · 0.85
getStrMethod · 0.65

Tested by

no test coverage detected