()
| 378 | } |
| 379 | |
| 380 | func (a *templatedArrayObject) getLenProp() *valueProperty { |
| 381 | lenProp, _ := a.getOwnPropStr("length").(*valueProperty) |
| 382 | if lenProp == nil { |
| 383 | panic(a.val.runtime.NewTypeError("missing length property")) |
| 384 | } |
| 385 | return lenProp |
| 386 | } |
| 387 | |
| 388 | func (a *templatedArrayObject) _setOwnIdx(idx uint32) { |
| 389 | lenProp := a.getLenProp() |
no test coverage detected