(idx valueInt)
| 326 | } |
| 327 | |
| 328 | func (a *arrayObject) hasOwnPropertyIdx(idx valueInt) bool { |
| 329 | if idx := toIdx(idx); idx != math.MaxUint32 { |
| 330 | return idx < uint32(len(a.values)) && a.values[idx] != nil |
| 331 | } |
| 332 | return a.baseObject.hasOwnPropertyStr(idx.string()) |
| 333 | } |
| 334 | |
| 335 | func (a *arrayObject) hasPropertyIdx(idx valueInt) bool { |
| 336 | if a.hasOwnPropertyIdx(idx) { |
no test coverage detected