Duration: 15:53 min
Summary: In this lesson, we will discuss errors and try/catch blocks. We will start with a quick introduction about IIFE (Immediately Invoked Function Expression). Then, we will create outer and inner try/catch blocks. We will cause an error to take place and see how the execution of the blocks unfolds. We will put log statements at each level and walk through the code by comparing the statements to the output. By the time we are done, you will have a good understanding of errors and try/catch blocks.