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

Method deleteSym

proxy.go:755–763  ·  view source on GitHub ↗
(s *Symbol, throw bool)

Source from the content-addressed store, hash-verified

753}
754
755func (p *proxyObject) deleteSym(s *Symbol, throw bool) bool {
756 target := p.target
757 if v, ok := p.checkHandler().deleteSym(target, s); ok {
758 p.proxyDeleteCheck(v, target.self.getOwnPropSym(s), s, target, throw)
759 return v
760 }
761
762 return target.self.deleteSym(s, throw)
763}
764
765func (p *proxyObject) keys(all bool, _ []Value) []Value {
766 if v, ok := p.proxyOwnKeys(); ok {

Callers

nothing calls this directly

Calls 4

checkHandlerMethod · 0.95
proxyDeleteCheckMethod · 0.95
deleteSymMethod · 0.65
getOwnPropSymMethod · 0.65

Tested by

no test coverage detected