• Returns the least common multiple of two or more numbers

    Example

    lcm(12, 7); // 84
    

    Example

    lcm(...[1, 3, 4, 5]); // 60
    

    Parameters

    • Rest ...nums: number[]

    Returns number

Generated using TypeDoc