JavaScript for in 循环 JavaScript for 循环 JavaScript while 循环 JavaScript for in 循环 <html> <body> <script> var aProperty; document.write("Navigator Object Properties<br /> "); for(aProperty in navigator) { document.write(aProperty); document.write("<br />"); } document.write ("Exiting from the loop!"); </script> </body> </html> JavaScript for 循环 JavaScript while 循环