for...in...的使用
//如下 取 window 的 properties
var aProperty
for (aProperty in window)
{
document.write(aProperty)
document.write("<br />");
}
//
var aProperty;
document.write("<h1>Navigator Object Properties</h1>");
for (aProperty in navigator)
{
document.write(aProperty);
document.write("<<br />>");
}