JavaScript Debugging Errors

From w3schools.com, Experiment by Teeratus_R

ReferenceError

Open the browser console (F12) to see the error. The variable is not declared.