Expressions in Script

The script expression evaluator accepts most expressions written in ASP-based JScript and VBScript. For JScript, it accepts most expressions, with a few exceptions:

Functions and Function Calls

The expression evaluator does not support the declaration of new functions or the dynamic creation of functions using new Function.

The expression evaluator supports function calls with By Value arguments but does not support function calls with By Reference arguments, objects, arrays, functions, and strings.

eval Method

The expression evaluator does not support expressions that use the eval method, such as:

eval("mydate = new "+dateFn+";")

Array Literals

The expression evaluator does not support array literals, such as:

var al1 : Array = [1,2,"3"];

Regular Expression Literals

The expression evaluator does not support regular expression literals, such as data*.dat.

See Also

Other Resources

Expressions in the Debugger

JScript .NET