SyntaxFix
Write A Post
Hire A Developer
Questions
you should use typeOf operator in js.
typeOf
var a=function(){ alert("fun a"); } alert(typeof a);// alerts "function"