Is it an object : isObject « Dojo toolkit « JavaScript DHTML






Is it an object

 

<html>
  <head>
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/"
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>

    <script>

      var s1 = "string";
      var s2 = new String("string object");
      var o = new Object();
      var a = new Array();
      alert(dojo.isObject(s1) + " " + dojo.isObject(s2) + " " + dojo.isObject(o) + " " +
        dojo.isObject(a));

    </script>

  </head>

  <body></body>

</html>

   
  








Dojo-toolkit.zip( 3,849 k)

Related examples in the same category