这个undefined要怎么理解? var a;alert(typeof typeof a);a的值为undefinedtypeof a返回undefined (也就是说typeof undefined返回undefined)但是再次typeof这个undefined结果就变成了string了~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 undefined 相当于java 的NULL 参考:http://www.cnblogs.com/qiantuwuliang/archive/2010/01/12/1645302.html 参考:ECMAScript 原始类型,对Undefined类型讲得非常透彻。 var a;alert(typeof typeof a);typeof a 输出的是 'undefined',再 typeof 'undefined' 就是 string +1 typeof返回的是字符串,描述变量的类型 subline高亮选中单词怎么配置底色? Ext groupingView 分组问题 如何用js代码将某个html标签重写 新开窗口session问题 全角问题,在线等! 求教 简单问题我怎么懵住了呢? 如何得到某一天所在周的周一和周日的日期? Redirect的小问题,非常郁闷 谢谢mrshelly(Shelly)和net_lover(孟子E章),再请各位帮帮忙好吗??? 如何读取网页的源码 用JS给Gridview中TemplateField的Label赋值 在一主窗口 a.htm 中,用js,open了一个子窗口aa.htm,在主窗口中如何找开的子窗口aa.htm是不被激活中
alert(typeof typeof a);typeof a 输出的是 'undefined',再 typeof 'undefined' 就是 string
+1 typeof返回的是字符串,描述变量的类型