// Practice Set · JS Operators · guest

Guest practice: this set is not saved and does not count.

Question 1 of 5 from: JS Arithmetic

This is meant to average 80 and 90. What does it actually log?

let avg = 80 + 90 / 2;
console.log(avg);
Question 2 of 5 from: JS Arithmetic

10 / 0 gives Infinity in JavaScript. It does not cause an error.

Question 3 of 5 from: JS Assignment

The string "0" is falsy.

Question 4 of 5 from: JS Comparisons

"20" < "5" is true.

Question 5 of 5 from: JS Conditional

In an if...else if...else chain, JavaScript runs every block whose condition is true.

Ready to submit?

Click a question to go back and check it. After you submit, you will see the right answer and an explanation for every question. As a guest, nothing is saved.