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

Method setForeignIdx

array_sparse.go:230–232  ·  view source on GitHub ↗
(name valueInt, val, receiver Value, throw bool)

Source from the content-addressed store, hash-verified

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)
232}
233
234type sparseArrayPropIter struct {
235 a *sparseArrayObject

Callers

nothing calls this directly

Calls 2

getOwnPropIdxMethod · 0.95
_setForeignIdxMethod · 0.80

Tested by

no test coverage detected