void Operator (Windows Scripting - JScript)

 

Prevents an expression from returning a value.

Syntax

void expression 

Remarks

The expression argument is any valid JScript expression.

The void operator evaluates its expression, and returns undefined. It is most useful in situations where you want an expression evaluated but do not want the results visible to the remainder of the script.

Requirements

Version 2

See Also

Operator Precedence (Windows Scripting - JScript)
Operator Summary (Windows Scripting - JScript)