函数的本质是一个内部对象
例子:
function f(a,b){
return a+b;
}
var myf=function(a,b){
return a+b;
}
alert(typeof(new myf()));//object
alert(typeof f);//function
alert(typeof(new f()));//object
alert(typeof Array);//function
alert(typeof(new Array()));//object
alert(myf);//输出函数的内容