Function hash

  • Computes the hash value of a string.

    Parameters

    • string: string

      The string to hash.

    Returns number

    The computed hash value.