(idx uint32)
| 86 | } |
| 87 | |
| 88 | func (a *sparseArrayObject) _getIdx(idx uint32) Value { |
| 89 | i := a.findIdx(idx) |
| 90 | if i < len(a.items) && a.items[i].idx == idx { |
| 91 | return a.items[i].value |
| 92 | } |
| 93 | |
| 94 | return nil |
| 95 | } |
| 96 | |
| 97 | func (a *sparseArrayObject) getStr(name unistring.String, receiver Value) Value { |
| 98 | return a.getStrWithOwnProp(a.getOwnPropStr(name), name, receiver) |
no test coverage detected