Learn JavaScript Data Types! Primitive Data Types and Non Primitive Data Types in JavaScript!
JavaScript Data Types
Data Type Defines data structure.
It defines the type, range and behaviour of data in memory.
Based on Behaviour Data Types are classified into 2 groups
a) Primitive Data Types
b) Non-Primitive Data Types
Primitive Types:
They are immutable types. means their structure will not change.
They have a fixed range for value.
They are stored in the Memory stack. stack uses LIFO [Last in first out]
1. Number
2. String
3. Boolean
4. Null
5. Undefined
6. BIGINT
7. Symbol