mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-10 00:49:22 +09:00
3 lines
68 B
JavaScript
3 lines
68 B
JavaScript
const gcd = (a, b) => !b ? a : gcd(b, a % b);
|
|
module.exports = gcd;
|