var a;
undefined 未定义类型
typeof a //返回类型
alert(typeof a);
(2)JavaScript数据类型
原文:http://www.cnblogs.com/buchizaodian/p/7106833.html