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

Method getStr

func.go:182–184  ·  view source on GitHub ↗
(p unistring.String, receiver Value)

Source from the content-addressed store, hash-verified

180}
181
182func (f *funcObject) getStr(p unistring.String, receiver Value) Value {
183 return f.getStrWithOwnProp(f.getOwnPropStr(p), p, receiver)
184}
185
186func (f *funcObject) getOwnPropStr(name unistring.String) Value {
187 if v := f._addProto(name); v != nil {

Callers

nothing calls this directly

Calls 2

getOwnPropStrMethod · 0.95
getStrWithOwnPropMethod · 0.80

Tested by

no test coverage detected