# elementAt method

E elementAt (int index)

Returns the `index`th element.

The `index` must be non-negative and less than length. Index zero represents the first element (so `iterable.elementAt(0)` is equivalent to `iterable.first`).

May iterate through the elements in iteration order, ignoring the first `index` elements and then returning the next. Some iterables may have more a efficient way to find the element.

## Implementation

    E elementAt(int index) {
      RangeError.checkValidIndex(index, this);
      return _table[(_head + index) & (_table.length - 1)];
    }