DEV Community

Discussion on: Is JavaScript Synchronous or Asynchronous?

Collapse
 
mburszley profile image
Maximilian Burszley

Please don't conflate JavaScript with its engines. That is how the event loop works in a browser. It may not necessarily be the same as NodeJS for example.

Collapse
 
adnanbabakan profile image
Adnan Babakan (he/him)

I believe Nodejs is no different than the JavaScript that is run in the browsers. Nodejs is running under V8 engine and that acts pretty similar to browser JavaScript. It is single threaded and also synchronous.