title: How to distinguish between a variable that is not declared and a varrable that is declared but not be assigned any value?
body: <p>Both scenario, the typeof the variable will be "undefined".
  But undeclared variable will raise a exception.</p>
  
  <p>Is there a easy way to handle this?</p>