JS OPERATORS Flashcards

1
Q

Exponentiation

A
(** is for exponentiation/exponents)
// Raises the first number to the power of the second number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Modulus/ Modulo

A

Returns the division remainder

Percentage sign “%” is used for Modulus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Order of operations in JavaScript

A

Parentheses, Exponents, Multiplication, Division, Modulus, Addition, and Subtraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly