JavaScript Errors and Debugging for Pythonistas Quiz
Interactive Quiz ⋅ 10 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of JavaScript Errors and Debugging for Pythonistas.
By working through this quiz, you’ll revisit the Python habits that misfire when a Python script’s error handling moves to JavaScript: naming a type in the catch header, telling errors apart by their message, porting try and except with else, expecting bad text to throw, re-raising with a bare throw, throwing a string, reading a trace from the bottom, missing the deeper levels of nested data, and logging values without their names.
Most questions show a short snippet from Joan’s donation import, or from the food bank’s pledge form, and ask what it does in JavaScript, or how to fix it. Good luck!
The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!