(idx valueInt, descr PropertyDescriptor, throw bool)
| 384 | } |
| 385 | |
| 386 | func (a *sparseArrayObject) defineOwnPropertyIdx(idx valueInt, descr PropertyDescriptor, throw bool) bool { |
| 387 | if idx := toIdx(idx); idx != math.MaxUint32 { |
| 388 | return a._defineIdxProperty(idx, descr, throw) |
| 389 | } |
| 390 | return a.baseObject.defineOwnPropertyStr(idx.string(), descr, throw) |
| 391 | } |
| 392 | |
| 393 | func (a *sparseArrayObject) _deleteIdxProp(idx uint32, throw bool) bool { |
| 394 | i := a.findIdx(idx) |
nothing calls this directly
no test coverage detected