📅  最后修改于: 2022-03-11 14:52:10.793000             🧑  作者: Mango
代码示例2
booleanExpression ? expression1 : expression2;
//expression1 if booleanExpression==true
//expression2 if booleanExpression==false