These are the different types of data that JavaScript supports:
- Boolean – For true and false values
- Null – For empty or unknown values
- Undefined – For variables that are only declared and not defined or initialized
- Number – For integer and floating-point numbers
- String – For characters and alphanumeric values
- Object – For collections or complex values
- Symbols – For unique identifiers for objects
Leave a Reply