DEV Community

Discussion on: Is JavaScript Synchronous or Asynchronous?

calix profile image
Calix Huang

Javascript can be either asynchronous or synchronous. Javascript is most known for being asynchronous because it can be, while other programming languages are multi-threaded at best. It is a huge advantage over other languages because it's so much faster.

mburszley profile image
Maximilian Burszley • Edited on

You're confusing a lot of concepts here. Concurrency (async) has nothing to do with threading vs multiprocessing or whatever model you use. It's about "parallel" execution. JavaScript is synchronous by default. JavaScript is just a language, it is neither fast or slow. That is up to its engines.