Guest practice: this set is not saved and does not count.
Which debugging tool logs a message to the console WITHOUT pausing the code and without you editing it?
debugger;
console.assert()
The play button (Resume) runs your code line by line.
What does this log?
console.log(typeof ("abc" * 5), "abc" * 5);
TypeError
fetch() rejects its promise (so a catch runs) when the server answers 404 Not Found.
fetch()
catch
404 Not Found
function getNumber() { Promise.resolve(42).then(n => n); } console.log(getNumber());
Promise
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.
Check my answers