JavaScript Comparison and Logical Operators
Comparison and Logical operators are used to test for true or false. Comparison Operators Comparison operators are used in logical statements to determine equality or difference between variables or values.
y=5;
z=2; x=y+z; The value of x, after the execution of the statements above is 7. JavaScript Arithmetic Operators Arithmetic operators are used to perform arithmetic between variables and/or values. Given that y=5, the table below explains the arithmetic operators:
| ||||||||||||||||||

