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

Call Stack

What happens when the call stack is full?

Answer options

  • JavaScript automatically frees memory
  • A Stack Overflow error occurs
  • The program switches to multi-threaded mode
  • The call stack automatically expands

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