摘要: 一、js数据类型: 字符串:string 数字:number 布尔:boolean undefined 复合类型:object functiontypeof 出现undefined的两种情况 1、定义了没有赋值 2、typeof a 根本就没有定义 3、函数没有返回值 4、访问一个不存在的属性 5、... 阅读全文
posted @ 2015-04-02 19:10 醉酒笑红尘 阅读(116) 评论(0) 推荐(0)