=eval(); function


The =eval(); Scripting Engine function evaluates an expression (the input) with a JScript parser. The string input to this function will be evaluated serverside with a JavaScript eval() equivalent function. Eval is a function which parses and executes the content of a string as code.
JScript is a MS version of ECMA Script (JavaScript)





The eval function has simple input


perty Datatype Default value Description
[Expression] String   The string expression to be evalutated



=eval(new Date().toDateString());
=eval(if(new Date().getMonth()<9){"0"}else{""});
=eval("My superlong string which I will only show the 10th word of".split(" ")[9]);