会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
时间观测者
博客园
首页
新随笔
联系
订阅
管理
2022年2月14日
JS 判断数据类型
摘要: 众所周知JS的数据类型原来有七种,ES2020 引入了一种新的数据类型 BigInt(大整数),所以共有8种 使用typeof /**5个基本**/ console.log(typeof 'str') // > string console.log(typeof 1) // > number con
阅读全文
posted @ 2022-02-14 11:40 时间观测者
阅读(69)
评论(0)
推荐(0)
编辑
公告