(idx valueInt)
| 303 | } |
| 304 | |
| 305 | func (a *sparseArrayObject) hasPropertyIdx(idx valueInt) bool { |
| 306 | if a.hasOwnPropertyIdx(idx) { |
| 307 | return true |
| 308 | } |
| 309 | |
| 310 | if a.prototype != nil { |
| 311 | return a.prototype.self.hasPropertyIdx(idx) |
| 312 | } |
| 313 | |
| 314 | return false |
| 315 | } |
| 316 | |
| 317 | func (a *sparseArrayObject) expand(idx uint32) bool { |
| 318 | if l := len(a.items); l >= 1024 { |
nothing calls this directly
no test coverage detected