// Practice Set · JS Syntax · guest

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

Question 1 of 5 from: JS Syntax

What does this log?

let a = 10;
let b = 3;
console.log(a % b);
Question 2 of 5 from: JS Statements

let x=5; and let x = 5; do exactly the same thing.

Question 3 of 5 from: JS Let

What does this log?

let total = 0;
if (true) {
  let total = 50;
}
console.log(total);
Question 4 of 5 from: JS Types

What does this log?

console.log(typeof null);
Question 5 of 5 from: JS Types

"true" (with quotes) is a boolean value.

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.