(idx uint32)
| 386 | } |
| 387 | |
| 388 | func (a *templatedArrayObject) _setOwnIdx(idx uint32) { |
| 389 | lenProp := a.getLenProp() |
| 390 | l := uint32(lenProp.value.ToInteger()) |
| 391 | if idx >= l { |
| 392 | lenProp.value = intToValue(int64(idx) + 1) |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | func (a *templatedArrayObject) setLength(l uint32, throw bool) bool { |
| 397 | lenProp := a.getLenProp() |
no test coverage detected