Fungsi JavaScript dari String
var addition = Function("a", "b", "return a + b;");
alert(addition(5, 3)); // shows '8'
Disgusted Dragonfly
var addition = Function("a", "b", "return a + b;");
alert(addition(5, 3)); // shows '8'