image\cslogo3d1.gif

JScript void Operator

Discards its operator and returns undefined.

Syntax: JScript void Operator

void expression

Arguments: JScript void Operator

expression

Any valid JScript expression.

Remarks: JScript void Operator

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.

Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.