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

Method getSym

destruct.go:67–70  ·  view source on GitHub ↗
(p *Symbol, receiver Value)

Source from the content-addressed store, hash-verified

65}
66
67func (d *destructKeyedSource) getSym(p *Symbol, receiver Value) Value {
68 d.recordKey(p)
69 return d.w().getSym(p, receiver)
70}
71
72func (d *destructKeyedSource) getOwnPropStr(u unistring.String) Value {
73 d.recordKey(stringValueFromRaw(u))

Callers

nothing calls this directly

Calls 3

recordKeyMethod · 0.95
wMethod · 0.95
getSymMethod · 0.65

Tested by

no test coverage detected