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

Method getOwnPropStr

builtin_error.go:47–54  ·  view source on GitHub ↗
(name unistring.String)

Source from the content-addressed store, hash-verified

45}
46
47func (e *errorObject) getOwnPropStr(name unistring.String) Value {
48 res := e.baseObject.getOwnPropStr(name)
49 if res == nil && name == propNameStack {
50 return e.addStackProp()
51 }
52
53 return res
54}
55
56func (e *errorObject) setOwnStr(name unistring.String, val Value, throw bool) bool {
57 if name == propNameStack {

Callers 2

getStrMethod · 0.95
setForeignStrMethod · 0.95

Calls 2

addStackPropMethod · 0.95
getOwnPropStrMethod · 0.65

Tested by

no test coverage detected