String, Number, Boolean, Null, Undefined, Symbol, BigInt

Primitive Data Types: The Fundamentals

Primitive types are the basic building blocks of JavaScript. They’re simple, immutable (can’t be changed), and are stored directly in memory.

String – Text Data

Copy to Clipboard

Number – Numeric Data

Copy to Clipboard

Boolean – True or False

Copy to Clipboard

Undefined – Not Assigned

Copy to Clipboard

Null – Intentionally Empty

Copy to Clipboard

Symbol – Unique Identifier

Copy to Clipboard

BigInt – Very Large Numbers

Copy to Clipboard

Remember: Primitive types are copied by value, not by reference!