Interface DOMStringList

    interface DOMStringList {
        length: number;
        [iterator](): ArrayIterator<string>;
        contains(string: string): boolean;
        item(index: number): string;
        [index: number]: string;
    }

    Indexable

    • [index: number]: string

    Properties

    Methods

    Properties

    length: number

    Returns the number of strings in strings.

    MDN Reference

    Methods

    • Returns true if strings contains string, and false otherwise.

      MDN Reference

      Parameters

      • string: string

      Returns boolean

    • Returns the string with index index from strings.

      MDN Reference

      Parameters

      • index: number

      Returns string