mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-10-08 02:14:50 +00:00
2 lines
66 B
TypeScript
2 lines
66 B
TypeScript
const gcd = (a, b) => !b ? a : gcd(b, a % b);
|
|
export default gcd;
|