1.作为对象的函数
var funcName = new Function (arguments,statements;);
var msg="\n 使用构造函数Function 构造函数 : \n\n";
var newFunc=new Function("result","alert(msg+' '+result)");
function Test()
{
{
newFunc("Welcome to JavaScript World!");
}var newFunc=new Function("result","alert(msg+' '+result)");