<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-javascript-works-behind-the-scenes--gbwe8g4v6" -->

---
title: How JavaScript Works behind the scenes? | daily.dev
description: How JavaScript Works behind the scenes? An overview walk-through of all the core components that are involved in the execution of JavaScript code. The Call...
canonical: https://daily.dev/posts/how-javascript-works-behind-the-scenes--gbwe8g4v6
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How JavaScript Works behind the scenes? | daily.dev
og:description: How JavaScript Works behind the scenes? An overview walk-through of all the core components that are involved in the execution of JavaScript code. The Call...
og:url: https://daily.dev/posts/how-javascript-works-behind-the-scenes--gbwe8g4v6
og:image: https://api.daily.dev/og/posts/gbwE8G4V6.png
og:image:alt: How JavaScript Works behind the scenes?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How JavaScript Works behind the scenes?

**[Dev Genius](https://daily.dev/sources/devgenius)** · [@fixslyr](https://daily.dev/fixslyr) · 4 min read · 180 upvotes · 22 comments

## Summary

How JavaScript Works behind the scenes? An overview walk-through of all the core components that are involved in the execution of JavaScript code. The Call Stack Concurrency and Event Loop. What happens when you have function calls in the Call Stack that take a huge amount of time to be processed in the browser.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.devgenius.io/how-javascript-works-behind-the-scenes-88c546173f32>

## Community discussion

Top comments from developers on daily.dev.

**@fixslyr** · 2 upvotes

> Read the second part here
> https://blog.devgenius.io/how-javascript-works-inside-the-javascript-engine-9fdbf3d24926

**@yardan\_dev** · 2 upvotes

> More than just writing code, now I know what's going on behind the scenes 🤩

**@techgeezer** · 1 upvotes

> The guy I report to now claims "oh it's just javascript!"  I wish he would read this and see how stupid that comment is.

**@lorezz** · 1 upvotes

> Well done, ty

**@jdcontrerasalbu** · 1 upvotes

> Great read. To the point, good examples, and nicely laid out.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/how-javascript-works-behind-the-scenes--gbwe8g4v6)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How JavaScript Works behind the scenes?","url":"https://daily.dev/posts/how-javascript-works-behind-the-scenes--gbwe8g4v6","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-javascript-works-behind-the-scenes--gbwe8g4v6"},"datePublished":"2021-12-29T19:39:46.110Z","dateModified":"2021-12-30T08:01:03.695Z","description":"How JavaScript Works behind the scenes? An overview walk-through of all the core components that are involved in the execution of JavaScript code. The Call...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3907eec711ddc1ab02f418d879acf421","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3907eec711ddc1ab02f418d879acf421","isAccessibleForFree":true,"articleSection":"Dev Genius","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Aditya Yaduvanshi","url":"https://daily.dev/fixslyr","image":"https://media.daily.dev/image/upload/f_auto/v1641159185/avatars/GEeoLSvdjn3F5xh4FauFx","description":"Web Developer | Web Designer | Blogger","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":260}},"commentCount":22,"discussionUrl":"https://daily.dev/posts/how-javascript-works-behind-the-scenes--gbwe8g4v6","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":180},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":22}],"keywords":"general-programming,javascript","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Dev Genius","item":"https://daily.dev/sources/devgenius"},{"@type":"ListItem","position":3,"name":"How JavaScript Works behind the scenes?"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/how-javascript-works-behind-the-scenes--gbwe8g4v6","comment":[{"@type":"Comment","text":"Read the second part here \nhttps://blog.devgenius.io/how-javascript-works-inside-the-javascript-engine-9fdbf3d24926","datePublished":"2022-01-19T15:57:25.290Z","url":"https://daily.dev/posts/gbwE8G4V6#c-akuWhX48z","author":{"@type":"Person","name":"Aditya Yaduvanshi","url":"https://daily.dev/fixslyr","image":"https://media.daily.dev/image/upload/f_auto/v1641159185/avatars/GEeoLSvdjn3F5xh4FauFx"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"More than just writing code, now I know what’s going on behind the scenes 🤩","datePublished":"2021-12-29T23:03:16.967Z","url":"https://daily.dev/posts/gbwE8G4V6#c-xtLDiftWh","author":{"@type":"Person","name":"Yardan","url":"https://daily.dev/yardan_dev","image":"https://media.daily.dev/image/upload/s--dIg5y8u1--/f_auto/v1708564305/avatars/avatar_pIwYvORdp"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"The guy I report to now claims “oh it’s just javascript!”  I wish he would read this and see how stupid that comment is.","datePublished":"2022-01-05T19:26:43.097Z","url":"https://daily.dev/posts/gbwE8G4V6#c-79LcfVUan","author":{"@type":"Person","name":"Marc Buraczynski","url":"https://daily.dev/techgeezer","image":"https://avatars3.githubusercontent.com/u/5992566?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Well done, ty","datePublished":"2022-01-01T16:31:13.431Z","url":"https://daily.dev/posts/gbwE8G4V6#c-5mH95iK_A","author":{"@type":"Person","name":"lorezz","url":"https://daily.dev/lorezz","image":"https://avatars0.githubusercontent.com/u/1153066?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Great read. To the point, good examples, and nicely laid out.","datePublished":"2022-01-26T05:07:44.512Z","url":"https://daily.dev/posts/gbwE8G4V6#c-P0QsBUERi","author":{"@type":"Person","name":"Josue Contreras","url":"https://daily.dev/jdcontrerasalbu","image":"https://avatars2.githubusercontent.com/u/23112422?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

