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

Method getSym

proxy.go:243–245  ·  view source on GitHub ↗
(target *Object, prop *Symbol, receiver Value)

Source from the content-addressed store, hash-verified

241}
242
243func (h *jsProxyHandler) getSym(target *Object, prop *Symbol, receiver Value) (Value, bool) {
244 return h.proxyCall(proxy_trap_get, target, prop, receiver)
245}
246
247func (h *jsProxyHandler) setStr(target *Object, prop unistring.String, value Value, receiver Value) (bool, bool) {
248 return h.boolProxyCall(proxy_trap_set, target, stringValueFromRaw(prop), value, receiver)

Callers

nothing calls this directly

Calls 1

proxyCallMethod · 0.95

Tested by

no test coverage detected