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

Method deleteStr

builtin_error.go:67–72  ·  view source on GitHub ↗
(name unistring.String, throw bool)

Source from the content-addressed store, hash-verified

65}
66
67func (e *errorObject) deleteStr(name unistring.String, throw bool) bool {
68 if name == propNameStack {
69 e.addStackProp()
70 }
71 return e.baseObject.deleteStr(name, throw)
72}
73
74func (e *errorObject) defineOwnPropertyStr(name unistring.String, desc PropertyDescriptor, throw bool) bool {
75 if name == propNameStack {

Callers

nothing calls this directly

Calls 2

addStackPropMethod · 0.95
deleteStrMethod · 0.65

Tested by

no test coverage detected