2022.3.25

js数据解构

number string boolean null undefined object symbol BigInt

typeof判断数据类型

instanceof是判断对象是谁的实例

typeof null 为Object typeof undefined  为undefined typeof NaN 为Number

null是表示一个空对象 变量声明但未赋值是undefined

posted @ 2022-03-25 16:29  HaoyuSun  阅读(19)  评论(0)    收藏  举报