(idx valueInt, val Value, throw bool)
| 204 | } |
| 205 | |
| 206 | func (a *arrayObject) setOwnIdx(idx valueInt, val Value, throw bool) bool { |
| 207 | if i := toIdx(idx); i != math.MaxUint32 { |
| 208 | return a._setOwnIdx(i, val, throw) |
| 209 | } else { |
| 210 | return a.baseObject.setOwnStr(idx.string(), val, throw) |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | func (a *arrayObject) _setOwnIdx(idx uint32, val Value, throw bool) bool { |
| 215 | var prop Value |
nothing calls this directly
no test coverage detected