为什么以下行没有提醒?
<script>
alert(x);//this line is not executed or alerted ???.It should have alerted "undefined"
console.log(x)//reference error
var y="maizere";
alert(y);//this line is also not executed or alerted ???
</script>
任何未声明的变量都被视为 javascript 中的全局变量,对吗?