mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-08 00:29:19 +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;
|