<script type="text/javascript">function compare(a,b) { return a>b?a:b }
a>b?a:b
if...else的简略说法,问好前为条件,如果a>b,return a,否则return b
if(a>b)
return a;
else
return b;
问号表达式,具体的同上