// Practice Set · JS Debugging · guest

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

Question 1 of 5 from: Debug Breakpoints

Which debugging tool logs a message to the console WITHOUT pausing the code and without you editing it?

Question 2 of 5 from: Debug Breakpoints

The play button (Resume) runs your code line by line.

Question 3 of 5 from: Debug Errors

What does this log?

console.log(typeof ("abc" * 5), "abc" * 5);
Question 4 of 5 from: Debug Async

fetch() rejects its promise (so a catch runs) when the server answers 404 Not Found.

Question 5 of 5 from: Debug Async

What does this log?

function getNumber() {
  Promise.resolve(42).then(n => n);
}
console.log(getNumber());
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.