mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-06 00:09:20 +09:00
45e8331e26
Closes #12, #227 and #58
3 lines
66 B
JavaScript
3 lines
66 B
JavaScript
const gcd = (a, b) => !b ? a : gcd(b, a % b);
|
|
export default gcd;
|