摘要: 阅读全文
posted @ 2017-02-20 14:47 欢乐之家 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1、如何识别一个数据类型是否是对象(someData): (1)someData typeof 'object' console.log({} typeof 'object') // true console.log([] typeof 'object') // true console.log(n 阅读全文
posted @ 2017-02-20 11:40 欢乐之家 阅读(105) 评论(0) 推荐(0) 编辑