=eval(); function

Outline

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)

Aliases

=eval();

=jeval();

Properties

The eval function has simple input

 

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

Examples

 

=eval(5+2);
=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]);