What is difference between null and undefined?

The value undefined is a derivative of null, so JavaScript defines them to be equal: