Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

The finally Block

Which code block will ALWAYS execute, regardless of whether an error occurred?

Answer options

  • finally
  • try
  • catch
  • throw

You can check the correct answer by solving this task in the CodeWorlds game.