Associative object arrays of Navigator : Navigator Object : Navigator JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Navigator » Navigator Object »

 

Associative object arrays of Navigator

















<HTML>
<HEAD>
   <TITLE>Associative object arrays</TITLE>
<SCRIPT>
function showProperties (theObject){
   for (var i in theObject) {
      if (theObject[i!= null) {
          document.write(i + " : " + theObject[i"<br>");
           
      }
      else {
         document.write(i + "<br>");
      }
   }
   return;
}
</SCRIPT>
</HEAD>
<BODY>
<SCRIPT>
showProperties(window.navigator);
</SCRIPT>
</HTML>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Navigator
» Navigator Object