JS 问号运算符的问题
摘要:
oPageHref.href = "http://" + bTest?arrSections[i]:"none"; 这句语句的运行顺序不是所想的: "http://" + (bTest?arrSections[i]:"none"); 相反地是: ( "http://"+bT... 阅读全文
posted @ 2009-01-22 00:50 norsd 阅读(221) 评论(0) 推荐(0) 编辑
posted @ 2009-01-22 00:50 norsd 阅读(221) 评论(0) 推荐(0) 编辑
posted @ 2009-01-22 00:42 norsd 阅读(119) 评论(0) 推荐(0) 编辑