📜  来自字符串的 javascript 函数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:48.485000             🧑  作者: Mango

代码示例1
var addition = Function("a", "b", "return a + b;");
alert(addition(5, 3)); // shows '8'