Boolean – Represents true and false values
Null – Represents empty, nothing, and unknown type of values
Number – Represents both integer and floating-point values
Object – Used for storing collections of data or more complex entities
String – Represents single-character, multi-character, and alphanumeric values
Symbol – Used for creating unique identifiers for objects
Undefined – Represents value not assigned. If a variable is only declared and not assigned in JS, then it represents the undefined data type
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.