How JavaScript Code Runs | Hoisting in Javascript | Javascript Full Course #10
Автор: Coder Army
Загружено: 2025-10-08
Просмотров: 6236
Ever wonder what actually happens when you run a line of JavaScript? Go beyond just writing code and truly understand the "magic" behind the scenes. In this detailed, step-by-step guide, we'll break down the entire JavaScript execution model from first principles.
This is the foundational knowledge that separates beginner developers from senior engineers. By the end of this video, you will finally have that "aha!" moment with concepts like the Call Stack, Hoisting, the Memory Heap, and the Execution Context.
WHAT YOU WILL LEARN IN THIS VIDEO:
The role of the JavaScript Engine (like V8 in Chrome & Node.js).
Why computers can't understand JavaScript directly (and the solution!).
The Two Phases of Code Execution: Creation vs. Execution.
Demystifying Hoisting: See why `var`, `let`, and `const` behave differently.
The Call Stack: A visual, step-by-step guide to how functions are managed.
The Memory Heap: Where do your objects, arrays, and functions live?
Function Execution Context: What happens every single time a function is called.
The Program Counter & Return Address: How JS knows where to return after a function finishes.
A complete code walkthrough showing the entire process in action.
This isn't just theory; this is the practical knowledge you need to write better, more efficient code and become a debugging master.
PERFECT FOR:
JavaScript beginners who want to build a strong foundation.
Developers who have been using JS for a while but never learned the internals.
Students preparing for technical interviews where these concepts are often asked.
Anyone who wants to truly understand how JavaScript works under the hood.
#JavaScript #WebDevelopment #LearnToCode #V8Engine #Programming #JavaScriptTutorial
Visit Coder Army Website: https://coderarmy.in/#home
Course start date: 1 september
Timing: 6pm (Mon-fri)
Hackathon will be organised after course completion
Join Premium Whatsapp Group: https://whatsapp.com/channel/0029Va6H...
Class Notes : https://www.notion.so/Lecture-10-JS-C...
Code Link: https://github.com/coderarmy-notes/me...
Twitter: https://x.com/rohit_negi9?s=21
Channel: @CoderArmy9
Buy Our Premium Course of Web dev+Blockchain+HLD+DSA: https://rohittnegi.akamai.net.in/new-... (5500 only)
Time Stamp:
0:00 Introduction
1:01 How JavaScript Code Works Behind The Scenes
2:31 Execution Context
4:08 Memory Allocation Phase
6:38 Execution Phase
7:58 Function Call Execution Context
15:00 Global Execution Context, Stack & Heap
16:17 Stack vs Heap (Primitives & Objects)
21:54 How the Interpreter Runs Code
29:10 Why undefined Appears Before var Initialization
33:04 Hoisting with var
34:04 let & const vs var
34:49 Temporal Dead Zone (Cannot Access Before Initialization)
38:52 Function Expressions & Hoisting
45:18 What is Hoisting
47:35 Wrapping Up
#javascript #webdevelopment #mernstack
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: