Microsoft® JScript™
void Operator
 Language Reference 
Version 2 

See Also


Description
Discards its operator and returns undefined.
Syntax
void expression

The expression argument is any valid JScript expression.

Remarks
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.

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.