2013年7月17日
摘要: Javascript 中 null、NaN和undefined的区别1.类型分析: js中的数据类型有undefined,boolean,number,string,object等5种,前4种为原始类型,第5种为引用类型。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->vara1;vara2=true;vara3=1;vara4="Hello";vara5=newObject();vara6=null;vara7=Na 阅读全文
posted @ 2013-07-17 07:08 @ 小浩 阅读(1121) 评论(0) 推荐(1)