- 博客(1)
- 收藏
- 关注
转载 JS判断undefined类型
JS判断undefined类型 if (currentIndex==null){ alert("null"); } 发现判断不出来,接着 if (currentIndex== undefined){ alert("undefined"); } 同样判断不出来 最后网上查了下要用typeof if (typeof(c...
2019-01-22 11:16:00 110
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人