Try and Catch
The try/catch keywords allow us to handle errors more gracefully. Here is an example… What we are doing here is telling JavaScript to “try” running the code. If there is an error catch it and do something with it. In this case, we are simply outputting it to the console,