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

Method setSym

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

Source from the content-addressed store, hash-verified

253}
254
255func (h *jsProxyHandler) setSym(target *Object, prop *Symbol, value Value, receiver Value) (bool, bool) {
256 return h.boolProxyCall(proxy_trap_set, target, prop, value, receiver)
257}
258
259func (h *jsProxyHandler) deleteStr(target *Object, prop unistring.String) (bool, bool) {
260 return h.boolProxyCall(proxy_trap_deleteProperty, target, stringValueFromRaw(prop))

Callers

nothing calls this directly

Calls 1

boolProxyCallMethod · 0.95

Tested by

no test coverage detected