JavaScriptJavaScript · Lesson 17

Errors & Debugging

try/catch, throwing, console tools and DevTools.

Video tutorialTrack course · freeCodeCamp
Speed
Next lesson
Watch 00:00 · 1 checkpoints Watch on YouTube More on this topic
Transcript & captions
6/6
  • console.log, console.table, console.error, console.time.
  • debugger; pauses execution when DevTools is open.
  • Read the stack trace bottom-up to find your own code.
  • Throw real Error objects so stacks are preserved.
Try it yourself

Knowledge check

0/1 answered

Which block always runs?