(int index, Scriptable start)
| 231 | } |
| 232 | |
| 233 | @Override |
| 234 | public Object get(int index, Scriptable start) { |
| 235 | var slot = denseOnly ? null : getMap().query(null, index); |
| 236 | if (!denseOnly && slot != null && slot.isSetterSlot()) return slot.getValue(start); |
| 237 | if (dense != null && 0 <= index && index < dense.length) return dense[index]; |
| 238 | return slot == null ? NOT_FOUND : slot.getValue(start); |
| 239 | } |
| 240 | |
| 241 | @Override |
| 242 | public boolean has(int index, Scriptable start) { |