javascript 取余数的过程先把两数整除,然后把被除数减去除数与整除的商的乘积,结果就是余数了。var x1 =21var y1 = 12var x2 =39var y2 =6alert(x1-y1*parseInt(x1y1))alert(x2-y2*parseI2023-04-24JavaScript310