Get the greatest common denominator (GCD) of two numbers.
Any positive integer
The GCD of two numbers
const y = SMath.gcd(42, 30); // 6 Copy
const y = SMath.gcd(42, 30); // 6
Get the greatest common denominator (GCD) of two numbers.