Changes

Jump to: navigation, search

JavaScript Operators

10 bytes added, 13:59, 20 April 2007
Comparison Operators
<tr>
<td>><td>Greater-than operator - returns ''true'' if the left hand operand is greater than the right.<td> x > 6 returns true is x is greater than 6</td>
<tr>
<td>>=<td>Greater-than or equal operator - returns ''true'' if the left hand operand is greater than, or equal to the right.<td> x >= 6 returns true is x is either 6, or greater than 6</td>
<tr>
<td><=<td>Less-than or equal operator - returns ''true'' if the left hand operand is less than, or equal to the right.<td> x >= 6 returns true is x is either equal to 6, or than 6</td>
</table>

Navigation menu