Function randomS4

  • Generates a random four-character string consisting of hexadecimal digits.

    Returns string

    The random four-character string.

    randomS4();
    // => '9f3b'