indexOf(aStr) {
    const idx = this._set.get(aStr);
    if (idx >= 0) {
      return idx
    }
    throw new Error('"' + aStr + '" is not in the set.')
  }
What is the index of the given string in the array?

@param String aStr