(v uint32, throw bool)
| 127 | } |
| 128 | |
| 129 | func (a *arrayObject) setLength(v uint32, throw bool) bool { |
| 130 | if !a.lengthProp.writable { |
| 131 | a.val.runtime.typeErrorResult(throw, "length is not writable") |
| 132 | return false |
| 133 | } |
| 134 | return a._setLengthInt(v, throw) |
| 135 | } |
| 136 | |
| 137 | func (a *arrayObject) getIdx(idx valueInt, receiver Value) Value { |
| 138 | prop := a.getOwnPropIdx(idx) |
no test coverage detected