Jak utworzyć funkcję z łańcucha
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'