function SuffixArray(string) {

  // Properties
  this.hasArbitrarySequence = typeof string !== 'string';
  this.string = string;
  this.length = string.length;

  // Building the array
  this.array = build(convert(string), this.length);
}
Suffix Array.

@constructor
@param {string|array} string - Sequence for which to build the suffix array.