Member-only story

These Interview Concepts helped me land a Job

Learn these concepts: Single-Threaded, Multi-Threaded, Asynchronous, Synchronous, Web Workers, etc., in this article.

Afan Khan
10 min readAug 4, 2023

--

If you’re a non-premium user, click here to read this article for free. If not, continue reading.

Source: Medium

Most experienced and new JavaScript developers come across the terms — Single-Threaded, Multi-Threaded, Blocking, Non-Blocking, Synchronous, Asynchronous, Call Stack, and more.

However, they do not know the meaning and importance of those concepts in JavaScript. Thus, I attempt to explain those terms in this article and additionally state why Brendan Eich, the creator of JavaScript, used this approach.

Let us start by understanding what single-threaded and synchronous means and how it works.

What do Single-Threaded and Synchronous mean?

Let’s begin with “JavaScript is a single-threaded synchronous language.”

The single-threading term refers to our program getting executed one line at a time individually because JS only contains one Call Stack and one Memory Heap.

That means the upcoming statements in the program cannot get executed until the current one completes its…

--

--

Afan Khan
Afan Khan

Written by Afan Khan

I create tools for innovators and problem solvers to bring forward new and impactful technological advancements.

No responses yet