摘要: ES5:(有重复,所以判断数组或对象等,就会有问题) typeof 1 > 'number' typeof 'hello' > 'string' typeof alert > 'function' typeof [1,2,3] > 'object' typeof {a:1,b:2} > 'objec 阅读全文
posted @ 2020-05-27 11:37 James2019 阅读(583) 评论(0) 推荐(0) 编辑