摘要:
(1)typeof用法typeof的运算数未定义,返回的就是 "undefined".运算数为数字 typeof(x) = "number"字符串 typeof(x) = "string"布尔值 typeof(x) = "boolean"对象,数组 和nulltypeof(x) = "object"函数 typeof(x) = "function"(2)js判断是否为空var exp = null;if (!exp&& typeof(exp)!="u 阅读全文
posted @ 2013-04-07 11:27
邪恶痞
阅读(285)
评论(0)
推荐(0)

浙公网安备 33010602011771号