Single Thread

  • JavaScript is a single threaded programming language, that execute one process at a time.

  • When the functions pushed into the call stack, the function in the stack will be executed ans poped out one by one.

Cons:

  • Due to the single threaded, the process will be slow down.

Last updated