Microsoft® JScript
Expressions
See Also
Language Reference 


An expression in JScript is any legal combination of values, variables, operators, and expressions. Sample expressions look like:

78
true || false
"This is a test"
1 + 7.8
y = 97
Legal expressions evaluate to a single value. This value may be a number, string, or logical value. Any legal expression can be used as part of another, larger expression. So the last example above (y = 97) could be used in a different expression:

z = y = 97
This is a perfectly legal expression. The end result is that 97 is assigned into both y and z..

© 1996 by Microsoft Corporation.