javascript Operators >
@March 15, 2008, 1:22 a.m.
> | Firefox/Netscape/NN 2 IE 3 ECMA 1 |
|
|
The greater-than operator compares the values of operands on either side of the operator. If the numeric value of the left operand is larger than the right operand, the expression evaluates to true. Strings are converted to their Unicode values for comparison of those values. |
|
Example | |
if (a > b) { ... } |
Permanent URL:
http://javascript.gakaa.com/operators--24-.aspx
Powered by Linode.