js 两数的最大公约数时间:2021-11-08 15:33:34function gcd(a,b){ if (b == 0){ return a; } var r = parseInt(a % b) ; return gcd(b, r);}gcd(12,5);