operator [] method

TComplexProperty operator [](
  1. int index
)
Gets the property at the specified index. The zero-based index of the property to get.

Implementation

TComplexProperty operator [](int index) {
  if (index < 0 || index >= this.length) {
    throw new RangeError.range(
        index, 0, this.length, "index", "Strings.IndexIsOutOfRange");
  }

  return this._items[index];
}