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

Method getOwnPropSym

proxy.go:578–585  ·  view source on GitHub ↗
(s *Symbol)

Source from the content-addressed store, hash-verified

576}
577
578func (p *proxyObject) getOwnPropSym(s *Symbol) Value {
579 target := p.target
580 if v, ok := p.checkHandler().getOwnPropertyDescriptorSym(target, s); ok {
581 return p.proxyGetOwnPropertyDescriptor(target.self.getOwnPropSym(s), target, v, s)
582 }
583
584 return target.self.getOwnPropSym(s)
585}
586
587func (p *proxyObject) proxyGetChecks(targetProp, trapResult Value, name fmt.Stringer) {
588 if targetDesc, ok := targetProp.(*valueProperty); ok {

Callers 2

hasOwnPropertySymMethod · 0.95
filterKeysMethod · 0.95

Calls 4

checkHandlerMethod · 0.95
getOwnPropSymMethod · 0.65

Tested by

no test coverage detected