What is the difference between null and undefined?
It can be assigned to a variable and has no value in case of null but on the other hand undefined means a variable has been declared but has not yet been assigned a value.
Also Read: Full Stack Interview Questions