Simplifies the fraction

  • Parameters

    • numerator: number
    • denominator: number

    Returns [number, number]

    simplify(1920, 1080).join(":"); // 16:9