摘要: 用typeof方法只能初步判断number string undefined boolean object function symbol这几种初步类型 使用Object.prototype.toString.call(var) 能判断具体的类型数组,函数 1 var arr = [1,2,3]; 阅读全文
posted @ 2019-10-01 17:53 布小星 阅读(510) 评论(0) 推荐(0) 编辑