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

Method setForeignStr

array_sparse.go:226–228  ·  view source on GitHub ↗
(name unistring.String, val, receiver Value, throw bool)

Source from the content-addressed store, hash-verified

224}
225
226func (a *sparseArrayObject) setForeignStr(name unistring.String, val, receiver Value, throw bool) (bool, bool) {
227 return a._setForeignStr(name, a.getOwnPropStr(name), val, receiver, throw)
228}
229
230func (a *sparseArrayObject) setForeignIdx(name valueInt, val, receiver Value, throw bool) (bool, bool) {
231 return a._setForeignIdx(name, a.getOwnPropIdx(name), val, receiver, throw)

Callers

nothing calls this directly

Calls 2

getOwnPropStrMethod · 0.95
_setForeignStrMethod · 0.80

Tested by

no test coverage detected