Get the greatest common divisor of 2 numbers
import { number } from "@rjweb/utils"number.gcd(5, 10) // 5number.gcd(10, 15) // 5 Copy
import { number } from "@rjweb/utils"number.gcd(5, 10) // 5number.gcd(10, 15) // 5
1.12.17
nodejs, browser
Get the greatest common divisor of 2 numbers