Changes

Jump to: navigation, search

JavaScript Operators

8 bytes added, 14:01, 20 April 2007
Comparison Operators
<td>><td>Greater-than operator - returns ''true'' if the left hand operand is greater than the right.<td> x > 6 returns true if 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 '' if 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 '' if x is either equal to 6, or less than 6</td>
</table>

Navigation menu