Javascript Reference
Categories: Operators

javascript Operators >=

@March 15, 2008, 1:22 a.m.
>= Firefox/Netscape/NN 2 IE 3 ECMA 1  

  

The greater-than-or-equal operator compares the values of operands on either side of the operator. If the numeric value of the left operand is larger than or equal to the right operand, the expression evaluates to true. Strings are converted to their Unicode values for comparison of those numeric values.

 
Example
 
if (a >= b) {
    ...
}

Powered by Linode.