mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-10-23 14:57:18 +02:00
2 lines
66 B
TypeScript
2 lines
66 B
TypeScript
const gcd = (a, b) => !b ? a : gcd(b, a % b);
|
|
export default gcd;
|