• Generates a text made up of a random selection of words from a given list.

    Returns

    The generated text.

    Parameters

    • numWords: number

      The number of words to generate in the text.

    • wordList: string[]

      The list of words to use to generate the text.

    Returns string

Generated using TypeDoc