2021年4月28日_三目运算符 2021-04-27 本文已影响0人 微笑碧落 result = <expression> ? <statement1> : <statement3>; 当表达式为真时候,执行 statement1, 否则就执行 statement3。