functionName = new Function( [argname1, [... argnameN,]] body ); 例子: var say = new Function("name","return name"); console.dir(say); console.dir(say("Lily")); 打印结果: function anonymous(name /**/) { return name } Lily 不论参数还是方法都
从 ES1 到 ES5 的这 14 年时间里,Function.prototype.toString 的规范一字未变: An implementation-dependent representation of the function is returned. This representation has the syntax of a FunctionDeclaration. Note in particular that the use and placement of white sp