Function underscore

  • Converts a camelcase separated string of words to be underscore separated.

    Parameters

    • words: string

      a camelcase separated string of words.

    Returns string

    a copy of words where each word is underscore separated.