ECMAScript基本语法——⑤运算符 三元运算符

?:   简化ifelse的操作

 

原文地址:https://www.cnblogs.com/rijiyuelei/p/12377413.html