(idx valueInt)
| 333 | } |
| 334 | |
| 335 | func (a *arrayObject) hasPropertyIdx(idx valueInt) bool { |
| 336 | if a.hasOwnPropertyIdx(idx) { |
| 337 | return true |
| 338 | } |
| 339 | |
| 340 | if a.prototype != nil { |
| 341 | return a.prototype.self.hasPropertyIdx(idx) |
| 342 | } |
| 343 | |
| 344 | return false |
| 345 | } |
| 346 | |
| 347 | func (a *arrayObject) expand(idx uint32) bool { |
| 348 | targetLen := idx + 1 |
nothing calls this directly
no test coverage detected