JavaScript Math Flashcards
1
Q
=+=
A
add to the current value
2
Q
> =
A
greater than or equal to
3
Q
&&
A
and
4
Q
= =
A
equal
5
Q
||
A
sign a condition either is or isn’t equal to
6
Q
x++
A
adds 1 to the number assigned to x
7
Q
x–
A
decreases by 1
8
Q
/
A
is used for division
9
Q
%
A
is the modulus symbol this is division with a remainder
10
Q
!=
A
not equal too
11
Q
=+=
A
add this to its self
12
Q
!
A
not
13
Q
try
A
attempts to perform a calculation
14
Q
catch
A
error message if you try to divide by 0
15
Q
Finally
A
displays a message if the calculation worked or didn’t work