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

Method getIdx

destruct.go:62–65  ·  view source on GitHub ↗
(p valueInt, receiver Value)

Source from the content-addressed store, hash-verified

60}
61
62func (d *destructKeyedSource) getIdx(p valueInt, receiver Value) Value {
63 d.recordKey(p.toString())
64 return d.w().getIdx(p, receiver)
65}
66
67func (d *destructKeyedSource) getSym(p *Symbol, receiver Value) Value {
68 d.recordKey(p)

Callers

nothing calls this directly

Calls 4

recordKeyMethod · 0.95
wMethod · 0.95
toStringMethod · 0.65
getIdxMethod · 0.65

Tested by

no test coverage detected