Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js基本数据类型,typeof 返回值是什么? #2

Open
MaMaFish opened this issue Feb 25, 2020 · 0 comments
Open

js基本数据类型,typeof 返回值是什么? #2

MaMaFish opened this issue Feb 25, 2020 · 0 comments

Comments

@MaMaFish
Copy link
Owner

MaMaFish commented Feb 25, 2020

js一共分为两种数据类型,分别是原始数据类型和引用类型
引用类型:Object
原始数据类型:Undefined、Null、Number、String、Boolean、Symbol(ES6)、BigInt(ES10)
typeof(undefined)-->undefined
typeof(null)-->object
typeof(number)-->number
typeof(string)-->string
typeof(boolean)-->boolean
typeof(Symbol())-->symbol

@MaMaFish MaMaFish changed the title js基本数据类型,typeof 返回值是什么? 第2题: js基本数据类型,typeof 返回值是什么? Feb 25, 2020
@MaMaFish MaMaFish changed the title 第2题: js基本数据类型,typeof 返回值是什么? 第2题:js基本数据类型,typeof 返回值是什么? Feb 25, 2020
@MaMaFish MaMaFish changed the title 第2题:js基本数据类型,typeof 返回值是什么? js基本数据类型,typeof 返回值是什么? Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant