A data type is a classification that specifies which type of value a variable has and what type of mathematical, relational or logical operations can be applied to it without causing an error.
Types of data types-
- String
- Number
- Boolean
- Array
- Object
- Null
- Undefiend