function c(a,b,c){return b==0?"除数为0":c==1?a/b:a%b;} 转载于:https://www.cnblogs.com/ecmasea/p/5949828.html