Euclid's algorithm 2/22/2011 · #index Just for fun: var _gcd = function(a, b) { return ( b == 0 ) ? a : _gcd( b, a%b ); } Featured Guide Growth for Software Developers README My Manager README Guide Essential Technical Writing