有人可以用简单的话向我解释什么是?:(有条件的,"三元")运算符以及如何使用它?
?:
javascript ternary-operator
javascript ×1
ternary-operator ×1