function fun(a){
if(!a) alert("not " + a);
}
fun(); //not undefined
fun(0); //not 0
fun(""); //not
fun(false); //not false
fun(null); //not null
fun(undefined); //not undefi ...
- 12:29
- 浏览 (13)
- 评论 (0)
- 分类: javascript
- 浏览: 5175 次
- 性别:

- 来自: 厦门

- 详细资料
搜索本博客
我的相册
inter
共 2 张
共 2 张
最近加入圈子
最新评论
-
dojo and ajax
很有用的函数!!
-- by cscs31 -
Dojo 与style相关的函数 ...
Lz能加上一些注解和例子就更好了:)
-- by cscs31






评论排行榜