• Calculates the factorial of a number

    Example

    factorial(6); // 720
    

    Parameters

    • n: number

    Returns number

Generated using TypeDoc