网站首页
高清电影
无损音乐
游戏攻略
电脑教程
破解资源
站长资源
软件下载
Javascript !!的作用
(编辑:jimmy 日期: 2024/10/9 浏览:
2
)
var wintype = !!os[1];
取变量的Boolean值,
应该相当于 var wintype = os[1]?true:false,
但显然简洁很多。
上一篇:
Javascript 表单之间的数据传递代码
下一篇:
Javascript 浅拷贝、深拷贝的实现代码
首页
音乐
电影
资源