Question PRG-JS-0055
MediumWhat is the difference between null and undefined?
- A.
undefined is an object
- B.
null is a number
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
JavaScript question
What is the difference between null and undefined?
undefined is an object
null is a number
Sign up free to see the answer and a step-by-step explanation.
They are identical
undefined means a value was never assigned; null is an intentional 'no value' set by the programmer