DEV Community

Discussion on: Illustrated JS: JavaScript asynchronous behaviour

Collapse
 
mjgs profile image
Mark Smith

Really like the baking analogy and lovely illustrations.

Perhaps this is splitting hairs but it’s the “javascript runtime“ that is single threaded. The way it’s implemented is slightly different in the browser and in NodeJS, but essentially it’s a system of queues.

This article goes into a bit more depth:

blog.logrocket.com/a-deep-dive-int...

Collapse
 
marinafroes profile image
Marina Costa

Hey Mark, thanks for contributing! I'm glad you mentioned this, one of the next posts that I want to write is about JS environments and this article you shared may help me. Thanks ☺️