关于js中赋值的问题
<scriptlanguage="JavaScript"type="text/javascript">window.WhoAmI="I'mthewindowobject"...
<script language="JavaScript" type="text/javascript">
window.WhoAmI = "I'm the window object";
alert(window.WhoAmI);
alert(this.WhoAmI); // I'm the window object
alert(window === this); // true
</script>
问题:
window.WhoAmI是什么语法?WhoAmI是变量? 展开
window.WhoAmI = "I'm the window object";
alert(window.WhoAmI);
alert(this.WhoAmI); // I'm the window object
alert(window === this); // true
</script>
问题:
window.WhoAmI是什么语法?WhoAmI是变量? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询