menu

JavaScript Operators


1. What is the result of 2 ** 3 in JavaScript?

6

8

9

10


2. What is the result of 2 >= 2 in JavaScript?

1

0

1

0


3. What is the result of 3 > 2 in JavaScript?

1

0

1

0


4. What is the result of !(true || false) in JavaScript?

1

0

null

undefined


5. What is the result of 2 !== "2" in JavaScript?

1

0

null

undefined


6. Which operator is used for division in JavaScript?

+

-

*

/


7. What is the result of --i when i is 3 in JavaScript?

2

3

4

undefined


8. What is the result of true || false in JavaScript?

1

0

1

0


9. Which operator is used for multiplication in JavaScript?

+

-

*

/


10. What is the result of typeof true in JavaScript?

number

string

boolean

undefined