Understanding Synchronous and Asynchronous Code in JavaScript
Understanding Synchronous and Asynchronous JavaScript
Published in
3 min readOct 17, 2020
Introduction
JavaScript is a single-threaded programming language. This means it has one call stack and one memory heap. As expected, it executes code in order and must finish executing a piece of code before moving into the next…