<html>
<head>
<script type="text/javascript">
var djConfig = {
baseScriptUri : "js/dojo/"
};
</script>
<script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
</head>
<body>
<script type="text/javascript">
var s = new String("I am a string");
var a = new Array();
var i = 5;
alert(dojo.isArray(s) + "\n" + dojo.isArray(a) + "\n" + dojo.isArray(i));
</script>
</body>
</html>
|