(idx valueInt, descr PropertyDescriptor, throw bool)
| 455 | } |
| 456 | |
| 457 | func (a *arrayObject) defineOwnPropertyIdx(idx valueInt, descr PropertyDescriptor, throw bool) bool { |
| 458 | if idx := toIdx(idx); idx != math.MaxUint32 { |
| 459 | return a._defineIdxProperty(idx, descr, throw) |
| 460 | } |
| 461 | return a.baseObject.defineOwnPropertyStr(idx.string(), descr, throw) |
| 462 | } |
| 463 | |
| 464 | func (a *arrayObject) _deleteIdxProp(idx uint32, throw bool) bool { |
| 465 | if idx < uint32(len(a.values)) { |
nothing calls this directly
no test coverage detected