How to check for undefined in JavaScript?

How to check for undefined in JavaScript?