Creates a new function.
For example, to create a function that adds the two arguments passed to it, you can do it in either of two ways:
var add = new Function("x", "y", "return(x+y)");
In either case, you call the function with a line of code similar to the following:
When calling a function, ensure that you always include the parentheses and any required arguments. Calling a function without parentheses causes the text of the function to be returned instead of the results of the function.
Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards. See Version Information.