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

Method setForeignStr

object_goarray_reflect.go:220–222  ·  view source on GitHub ↗
(name unistring.String, val, receiver Value, throw bool)

Source from the content-addressed store, hash-verified

218}
219
220func (o *objectGoArrayReflect) setForeignStr(name unistring.String, val, receiver Value, throw bool) (bool, bool) {
221 return o._setForeignStr(name, trueValIfPresent(o.hasOwnPropertyStr(name)), val, receiver, throw)
222}
223
224func (o *objectGoArrayReflect) hasOwnPropertyIdx(idx valueInt) bool {
225 return o._hasIdx(idx)

Callers

nothing calls this directly

Calls 3

hasOwnPropertyStrMethod · 0.95
trueValIfPresentFunction · 0.85
_setForeignStrMethod · 0.80

Tested by

no test coverage detected