<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 f1 = function() { }; var f2 = new Function(); alert(dojo.isFunction(f1)); alert(dojo.isFunction(f2)); </script> </head> <body></body> </html>