Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=GB2312" />
<title> “for(...in...)”语句的应用</title>
</head>
<body style="overflow:auto;">
<table style="font-size:12px; font-weight:bold; color:white; font-family:Arial, 宋体; background-color:#6090DA; padding:4px 10px;">
<tr><td>变量 i 的值是</td><td>window[i]的值是</td></tr>
<script type="text/javascript">
for(var i in window){
document.write("<tr><td>"+i+"</td><td>"+window[i]+"”</td></tr>");
}
</script>
</table>
</body>
</html>
CSS代码...
JS代码...
xxxxxxxxxx