Developers often need to check variables. The value of variable can be Undefined, Null, Empty. We will show you ways to handle this situation. There are two ways to check a variable is undefined, null, empty. First, you can handle it with comman method. Second, you can handle it with efficient method.