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

Method defineOwnPropertyStr

func.go:203–206  ·  view source on GitHub ↗
(name unistring.String, descr PropertyDescriptor, throw bool)

Source from the content-addressed store, hash-verified

201}
202
203func (f *funcObject) defineOwnPropertyStr(name unistring.String, descr PropertyDescriptor, throw bool) bool {
204 f._addProto(name)
205 return f.baseObject.defineOwnPropertyStr(name, descr, throw)
206}
207
208func (f *funcObject) deleteStr(name unistring.String, throw bool) bool {
209 f._addProto(name)

Callers

nothing calls this directly

Calls 2

_addProtoMethod · 0.95
defineOwnPropertyStrMethod · 0.65

Tested by

no test coverage detected