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

Method getOwnPropStr

func.go:186–192  ·  view source on GitHub ↗
(name unistring.String)

Source from the content-addressed store, hash-verified

184}
185
186func (f *funcObject) getOwnPropStr(name unistring.String) Value {
187 if v := f._addProto(name); v != nil {
188 return v
189 }
190
191 return f.baseObject.getOwnPropStr(name)
192}
193
194func (f *funcObject) setOwnStr(name unistring.String, val Value, throw bool) bool {
195 f._addProto(name)

Callers 2

getStrMethod · 0.95
setForeignStrMethod · 0.95

Calls 2

_addProtoMethod · 0.95
getOwnPropStrMethod · 0.65

Tested by

no test coverage detected