JS2 ClassNotes
JS2 ClassNotes
Arithmetic Operators
+, -, *, /
Modulus Exponentiation
Increment Decrement
Operators in JS
Assignment Operators
= += -= % **
*= = =
Operators in JS
Comparison
Operators
Equal
to
= Equal to &
type
==
Not equal = ! Not equal to & =
to type
= !
=
>, >=,
=
<, <=
Operators in JS
Logical
Operators
Logical &
AND
&
Logical
OR
||
Logical
NOT
!
Conditional Statements
To implement some condition in
the code
if Statement
Conditional Statements
if-else
Statement
Conditional Statements
else-if
Statement
Operators in JS
Ternary Operators