JavaScript内建对象-Function
Function对象用来创建函数:var func = new Function("a","b","return a+b");console.log(func(10,20)); 常见的如下:1、函数声明function func(a,b){ return a+b;}console.log(func(1,2));2、函数表达式var fun...