Created
November 24, 2019 17:11
-
-
Save vladimir-ivanov/21fb67c10c88c7590e260638bb512d13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const greatestCommonDivisor(a: number, b: number): number => (b === 0) ? a : greatestCommonDivisor(b, a % b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment