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

Method deleteStr

proxy.go:259–261  ·  view source on GitHub ↗
(target *Object, prop unistring.String)

Source from the content-addressed store, hash-verified

257}
258
259func (h *jsProxyHandler) deleteStr(target *Object, prop unistring.String) (bool, bool) {
260 return h.boolProxyCall(proxy_trap_deleteProperty, target, stringValueFromRaw(prop))
261}
262
263func (h *jsProxyHandler) deleteIdx(target *Object, prop valueInt) (bool, bool) {
264 return h.boolProxyCall(proxy_trap_deleteProperty, target, prop.toString())

Callers

nothing calls this directly

Calls 2

boolProxyCallMethod · 0.95
stringValueFromRawFunction · 0.85

Tested by

no test coverage detected