javascript条件运算符

1 variablename=(condition)?value1:value2 
javascript条件运算符
原文地址:https://www.cnblogs.com/SoftShine/p/3728141.html