javascript Operators <
@March 15, 2008, 1:22 a.m.
< | Firefox/Netscape/NN 2 IE 3 ECMA 1 |
|
|
The less-than operator compares the values of operands on either side of the operator. If the numeric value of the left operand is smaller 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--23-.aspx
Powered by Linode.