Day / days of basics in JavaScript series
→ What is data type?
→ How many data types are in javaScript?
#javascript30
Let me explain!
→ What is data type?
→ How many data types are in javaScript?
#javascript30
Let me explain!
What is data type?
→ Data type means which type of data or value.
→ It defines which "type" of variable has a value or data.
→ The data type defines the type of data or value.
→ It can be number, string, boolean, etc.
→ Data type means which type of data or value.
→ It defines which "type" of variable has a value or data.
→ The data type defines the type of data or value.
→ It can be number, string, boolean, etc.
How many data types are in javaScript?
There are 2 types of data types in JavaScript.
Primitive data types
Non-primitive / object / reference data types.
There are 2 types of data types in JavaScript.
Primitive data types
Non-primitive / object / reference data types.
Primitive data types
Primitive values are immutable data types.
1. string
2. number
3. bigInt
4. boolean
5. undefined
6. symbol (ES6 - 2015)
7. null
And in the next thread we will talk about each of them in detail, so stay tuned with me:)
Primitive values are immutable data types.
1. string
2. number
3. bigInt
4. boolean
5. undefined
6. symbol (ES6 - 2015)
7. null
And in the next thread we will talk about each of them in detail, so stay tuned with me:)
Non-primitive / object / reference data types.
Non-primitive values are mutable data types.
1. Array
2. Object
3. Function, etc.
And in the next thread we will talk about each of them in detail, so stay tuned with me:)
Non-primitive values are mutable data types.
1. Array
2. Object
3. Function, etc.
And in the next thread we will talk about each of them in detail, so stay tuned with me:)
That's all for now, we will meet in the next thread!
But if you like make sure to:
1. Follow me @ATechAjay
2. Retweet the first tweet.
3. Turn on the notification to never miss these amazing tweets.
Thank you so much for staying to the end of this thread.
But if you like make sure to:
1. Follow me @ATechAjay
2. Retweet the first tweet.
3. Turn on the notification to never miss these amazing tweets.
Thank you so much for staying to the end of this thread.