(idx valueInt, val Value, throw bool)
| 216 | } |
| 217 | |
| 218 | func (a *sparseArrayObject) setOwnIdx(idx valueInt, val Value, throw bool) bool { |
| 219 | if idx := toIdx(idx); idx != math.MaxUint32 { |
| 220 | return a._setOwnIdx(idx, val, throw) |
| 221 | } |
| 222 | |
| 223 | return a.baseObject.setOwnStr(idx.string(), val, throw) |
| 224 | } |
| 225 | |
| 226 | func (a *sparseArrayObject) setForeignStr(name unistring.String, val, receiver Value, throw bool) (bool, bool) { |
| 227 | return a._setForeignStr(name, a.getOwnPropStr(name), val, receiver, throw) |
nothing calls this directly
no test coverage detected