Primitive Data Type
Primitive data types in JavaScript represent simple, immutable values stored directly in memory, ensuring efficiency in both memory usage and performance.
- Number
- String
- Boolean
- Null
- Undefined
- Symbol
- Bigint
Non-Primitive Data Types
- Object
- Arrays
- Function
- Date Object
- Regular Expression
Variable:
- var keyword
- let keyword
- const keyword
function:
code reuseable use the function
Top comments (0)