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

Method getStr

object_args.go:15–17  ·  view source on GitHub ↗
(name unistring.String, receiver Value)

Source from the content-addressed store, hash-verified

13}
14
15func (a *argumentsObject) getStr(name unistring.String, receiver Value) Value {
16 return a.getStrWithOwnProp(a.getOwnPropStr(name), name, receiver)
17}
18
19func (a *argumentsObject) getOwnPropStr(name unistring.String) Value {
20 if mapped, ok := a.values[name].(*mappedProperty); ok {

Callers

nothing calls this directly

Calls 2

getOwnPropStrMethod · 0.95
getStrWithOwnPropMethod · 0.80

Tested by

no test coverage detected