摘要: JS中用于类型检测的函数有typeof、instanceof 、Object.prototype.toString、constrcutor、duck typetypeof用于检测基本类型(undefined、boolean、string、Number)和函数有些特殊情况 null、数组、Date数据... 阅读全文
posted @ 2015-05-28 21:26 LJJ洁儿 阅读(111) 评论(0) 推荐(0) 编辑