Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 87 Bytes
let gcd a b =
if b == 0 then
a
else
gcd b (a % b)
console.log (gcd 49 35)
Jump to Line
Something went wrong with that request. Please try again.