DEV Community


Discussion on: Illustrated JS: JavaScript asynchronous behaviour

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:

marinafroes profile image
Marina Costa Author

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 ☺️