次のコードを検討してください。
//the var Test has NOT been declared yet
console.log((typeof Test)); // "undefined"
console.log(Test); //"Uncaught ReferenceError: Test is not defined"
2 番目の console.log ステートメントで ReferenceError がスローされ、最初のステートメントで undefined が表示されるのはなぜですか。