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

Method setForeignStr

func.go:199–201  ·  view source on GitHub ↗
(name unistring.String, val, receiver Value, throw bool)

Source from the content-addressed store, hash-verified

197}
198
199func (f *funcObject) setForeignStr(name unistring.String, val, receiver Value, throw bool) (bool, bool) {
200 return f._setForeignStr(name, f.getOwnPropStr(name), val, receiver, throw)
201}
202
203func (f *funcObject) defineOwnPropertyStr(name unistring.String, descr PropertyDescriptor, throw bool) bool {
204 f._addProto(name)

Callers

nothing calls this directly

Calls 2

getOwnPropStrMethod · 0.95
_setForeignStrMethod · 0.80

Tested by

no test coverage detected