mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-26 12:38:32 +09:00
3 lines
66 B
TypeScript
3 lines
66 B
TypeScript
const gcd = (a, b) => !b ? a : gcd(b, a % b);
|
|
export default gcd;
|