function to string javascript code example
Example 1: javascript to string
num.toString();
Example 2: javascript function from string
var addition = Function("a", "b", "return a + b;");
alert(addition(5, 3)); // shows '8'
num.toString();
var addition = Function("a", "b", "return a + b;");
alert(addition(5, 3)); // shows '8'