JavaScript Associate — Easy
Key points
- Undefined indicates a variable has been declared but not assigned a value
- Null is a deliberate assignment representing no value
- Understanding this distinction helps avoid unexpected behavior in code
Ready to go further?
Related questions
