前面有讲到三目运算符没?
还没到这章节吧 我记得C# 里面的是 (条件)? True 执行里面的:fales 执行这里的; 结果试了一下行了 (3>5)?document.write(3):document.write(5);