基本数据类型:undefined、null、boolean、number、string、symbol
引用类型:object、arry、function
typeof
undefined
null
NaN
isNaN()
数值转换
parseInt()
parseFloat()
string
字符串转换
Boolean
类型转换
基本数据类型:undefined、null、boolean、number、string、symbol
引用类型:object、arry、function
本文标题:javascript有哪些数据类型
本文链接:https://www.haomeiwen.com/subject/phaigftx.html
网友评论