(name unistring.String)
| 318 | } |
| 319 | |
| 320 | func (a *arrayObject) hasOwnPropertyStr(name unistring.String) bool { |
| 321 | if idx := strToArrayIdx(name); idx != math.MaxUint32 { |
| 322 | return idx < uint32(len(a.values)) && a.values[idx] != nil |
| 323 | } else { |
| 324 | return a.baseObject.hasOwnPropertyStr(name) |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | func (a *arrayObject) hasOwnPropertyIdx(idx valueInt) bool { |
| 329 | if idx := toIdx(idx); idx != math.MaxUint32 { |
nothing calls this directly
no test coverage detected