Study Up on Debugging and Error Handling
After completing this unit, you’ll be able to:
- Handle errors properly given a scenario.
- Use the console and breakpoints given code to be debugged.
- Selective catching
The unit also contains interactive flashcards centered around study topics that help you prepare for the Debugging and Error Handling section of the exam.
Download the Guide
Exam Practice Questions
Ready to jump in? The sample tool below is not scored—it's just an easy way to quiz yourself. To use it, read the scenario, then click the answer you think is correct. Some questions may have more than one correct answer. Click Submit to learn whether the answer you chose is correct or incorrect, and why. If there’s a longer explanation, click to expand the window, then click anywhere in the window to close it. When you reach the end, you can review the answers or retake the questions.
Did you get a scenario wrong? Check out the table below for related study material.
||Study up on using breakpoints using the
Exam Topic Flashcards
The following flashcards cover debugging and error handling. Use these interactive flashcards to brush up on some of the key topics you’ll find on this part of the exam.
Read the question or term on each card, then click or tap the card to reveal the correct answer. Click the right-facing arrow to move to the next card, and the left-facing arrow to return to the previous card.
Did you get a flashcard wrong? Check out the table below for related study material.
||Study up on using breakpoints by reviewing
||Learn how to describe the options for handling errors with the try...catch block by reviewing
MDN web docs: try...catch.
Looking for more information? Explore these related badges.
You’ve reviewed debugging and error handling. Next, let’s take a look at testing.