摘要: 1、typeof console.log(typeof null) 输出为Object console.log(typeof [ ])输出为Object console.log(typeof function(){})输出为function 所以说,typeof对于基础类型来说,除了null判定为o 阅读全文
posted @ 2022-02-09 15:54 大坏坏狼 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 一、js内置类型 基础类型:String, number, null, undefine, boolean, symbol, bigint 引用类型:Object(包含普通对象Object,数组对象Array,正则对象Regexp,日期对象Date,数学函数Math,函数对象function) !注 阅读全文
posted @ 2022-02-09 11:30 大坏坏狼 阅读(906) 评论(0) 推荐(0) 编辑