Tool-Shack
    Preparing search index...

    Function randomString

    • Generate random string using Math.random

      Parameters

      • length: number = 16

        Desired length of random string

      • charset: string = DEFAULT_CHARSET

        Character set to use (defaults to alphanumeric)

      Returns string

      Random string