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

Method setForeignStr

array.go:275–277  ·  view source on GitHub ↗
(name unistring.String, val, receiver Value, throw bool)

Source from the content-addressed store, hash-verified

273}
274
275func (a *arrayObject) setForeignStr(name unistring.String, val, receiver Value, throw bool) (bool, bool) {
276 return a._setForeignStr(name, a.getOwnPropStr(name), val, receiver, throw)
277}
278
279type arrayPropIter struct {
280 a *arrayObject

Callers

nothing calls this directly

Calls 2

getOwnPropStrMethod · 0.95
_setForeignStrMethod · 0.80

Tested by

no test coverage detected