var message; alert(message); // undefined alert(age); // 에러가 발생됩니다. alert(typeof message); // undefined alert(typeof age); // undefined