if (false) { var x = 'hello'; } console.log(x); // undefined