JavaScript Primitive Data Type | Primitive Data Types Tutorials

JavaScript Data Types


JavaScript Data Types
All Variables have a data type that defines what type of data is being stored in a variable. There are two types of data types in JavaScript namely Primitive data types and Non-primitive data types.
JavaScript Primitive Data Type
Primitive data types: those not defined in terms of other data types. In other words we can say that in-built data type. Most programming languages provide a set of primitive data types.
JavaScript primitive data types are as follows:
JavaScript non- Primitive Data Type
Primitive data types: those defined in terms of other data types.  In other words we can say that derived data type.
JavaScript non-primitive data types are as follows: