Primitive Data Type-> Data which is already defined in programming language.
Non Primitive data Type-> Data Which defined by User in particular language.
1- Numbers - All Number Integer + Floating Number like 10.5
2- String - In simple word i would say name of anything like - Apple, Ram, Chair. We write String in quotes single or double as you like in Javascript.
3- Boolean - Its a true or false value. we use this for logic building in programme.
Note :- Above are three most important data type which we use in Javascript.
4- Undefined - Which is not define means empty Variable like let fullAge;
5- Null - This is also empty value.
6- Symble - This Value is Unique can not be changed.
7- BigInt - Larger Integer .
0 comments
Post a Comment