let line; const getCommonConvention=(x,y)=>{ // 求最小公约数 欧里几德算法,辗转相除法 if(y == 0){ return x } let z = x % y; return getCommonConvention(y,z) } const getCommonMultiple=(x,y)=>{ // 求最小公倍数 return (x*y) / getCommonConvention(x,y) } const getCalc=(x,y)=>{ // ...