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

Method getOwnPropStr

proxy.go:560–567  ·  view source on GitHub ↗
(name unistring.String)

Source from the content-addressed store, hash-verified

558}
559
560func (p *proxyObject) getOwnPropStr(name unistring.String) Value {
561 target := p.target
562 if v, ok := p.checkHandler().getOwnPropertyDescriptorStr(target, name); ok {
563 return p.proxyGetOwnPropertyDescriptor(target.self.getOwnPropStr(name), target, v, name)
564 }
565
566 return target.self.getOwnPropStr(name)
567}
568
569func (p *proxyObject) getOwnPropIdx(idx valueInt) Value {
570 target := p.target

Callers 2

hasOwnPropertyStrMethod · 0.95
filterKeysMethod · 0.95

Calls 4

checkHandlerMethod · 0.95
getOwnPropStrMethod · 0.65

Tested by

no test coverage detected