三目运算 三目运算var b =condition? exp01: exp02;condition-- true 输出exp01condition-- false 输出exp02 var a=(10>4)?10:4;