🚧 under construction
Last updated 2 years ago
Was this helpful?
JS ⟩ value ⟩ primitive
7 primitive data types:
5 with wrapper: String / Number / BigInt / Boolean / Symbol
2 without wrapper:(⚠️ can't call methods, no properties)❗ undefined / null.
7 types of primitives
null / undefined
Boolean / /
/
tools
All primitives are immutable.
null & undefined
have no object wrappers, methods/properties not available.
hava no corresponding either.
👉 isPrimitive()
⭐ sloppy equality (==) / strict equality (===)
JS.info ⟩ Native prototypes ⟩ primitives
Primitive
Symbol's wrapper?