
As in any other programming language, JavaScript also has Primitive data types and non-primitive data types. In case you didn't know primitive data types are predefined data types which comes with the language. Non-primitive are data types which are defined by the programmer.
Data types in JavaScript
Primary data types
Number
String
Boolean
Composite...