javascript条件运算符

1 variablename=(condition)?value1:value2 
javascript条件运算符

 

posted @ 2014-05-14 16:41  子魚非魚  阅读(124)  评论(0编辑  收藏  举报