function getMax(a,b,c){ var max=a>b?a:b; c>max&&(max=c); return max; }
原声js获得最大值的简便写法
原文:https://www.cnblogs.com/mchtig/p/9144032.html