ichigyou
    Preparing search index...

    Function factorial

    • Calculates the factorial of a given number.

      Parameters

      • num: number

        The number to calculate the factorial of.

      Returns number

      The factorial of the input number.