摘要:
1、typeof console.log(typeof null) 输出为Object console.log(typeof [ ])输出为Object console.log(typeof function(){})输出为function 所以说,typeof对于基础类型来说,除了null判定为o 阅读全文
摘要:
一、js内置类型 基础类型:String, number, null, undefine, boolean, symbol, bigint 引用类型:Object(包含普通对象Object,数组对象Array,正则对象Regexp,日期对象Date,数学函数Math,函数对象function) !注 阅读全文