Changes

JavaScript Operators

375 bytes added, 13:59, 20 April 2007
Comparison Operators
<td><<td>Less-than operator - returns ''true'' if the left hand operand is less than the right hand operand.<td>x < 6 returns ''true'' if x is less than 6</td>
<tr>
<td>><td>Greater-than operator - returns ''true'' if the left hand operand is greater than the right.<td> x > 6 retruns returns true is x is greater than 6</td><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><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>