How JavaScript Works & Execution Context | Namaste JavaScript Ep.1

How JavaScript Works & Execution Context | Namaste JavaScript Ep.1

Akshay Saini

3 года назад

1,080,608 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Swati
Swati - 01.10.2023 17:15

There is a whole Container Inside which we have EXECUTION CONTEXT where we execute our JavaScript Programs.
This Execution Context Comprises of Two Parts i.e.,
1.Memory component(Variable Environment) &
2.Code component(thread of Execution).
In Memory component variable & function values can be stored in a key: value pair &
In Code Component whole JavaScript code is executed as single statement at a time that too in synchronous form.

Ответить
Asmit tyagi
Asmit tyagi - 01.10.2023 07:33

yoyoyoyoyo

Ответить
developer....
developer.... - 27.09.2023 17:45

such a excellent explanation, Thank you Brother!

Ответить
KUSHAL SWARUP
KUSHAL SWARUP - 26.09.2023 06:34

superrb

Ответить
Shravani Kadam
Shravani Kadam - 24.09.2023 17:18

Now I am 100% sure that I am going to fall in love with javascript. Very much excited. Your very much genuine teacher❤❤❤

Ответить
ANIKET SHUKLA
ANIKET SHUKLA - 24.09.2023 09:46

I have seen even big channels missing out on Execution context. Thanks Akshaiya Bhaiya.

Ответить
shailender jaiswal
shailender jaiswal - 24.09.2023 08:31

mjaa aa raha hai padhne me

Ответить
funter ban
funter ban - 23.09.2023 19:33

awesome video thank you sir

Ответить
riya
riya - 21.09.2023 20:31

i will finish it

Ответить
usama abbasi
usama abbasi - 21.09.2023 14:44

Preparing for my interview by watching your videos from Pakistan

Ответить
prashant singh
prashant singh - 21.09.2023 10:37

After watching this video . I am really excided to learn Javascript by you 🙂

Ответить
Jose Marin
Jose Marin - 18.09.2023 17:20

plan function in js-awe library is nice way to manage complex async flow.

Ответить
james allen
james allen - 17.09.2023 09:55

Excellent sir Thank you so much🙏🙏

Ответить
Arvind Singh
Arvind Singh - 16.09.2023 20:09

💯💯

Ответить
Budget Arena
Budget Arena - 13.09.2023 12:26

OMG, how sweet akshay laughs with a cute smile, it also helps to understand code in an easy way. you are a genius big Baby.

Ответить
YASH PAOTA
YASH PAOTA - 12.09.2023 08:50

Summary 📝📝

1. "Everything in JavaScript Happens inside the Execution Context".
2. Whenever a JavaScript code is executed an execution context is created.
3. It has two components which are Memory Component also called as Variable Environment and Code Component also known as Thread of Execution.
4. In Memory Component the Variables and functions are stored in the key value pairs.
5. In Code Component the code is executed line by line in specific order.
6. "JavaScript is Synchronous Single Threaded Language" means JS can execute only one line at a time and that too in a specific order.

Ответить
UTKARSH SRIVASTAVA
UTKARSH SRIVASTAVA - 08.09.2023 22:34

Thanx Akshay Bhai

Ответить
UTKARSH SRIVASTAVA
UTKARSH SRIVASTAVA - 08.09.2023 22:29

Thanx Akshay Bhai

Ответить
Santosh Kumar Sahoo
Santosh Kumar Sahoo - 08.09.2023 19:30

Javascript is a synchronous single - therethed language

Ответить
Ahmed Al-amodi
Ahmed Al-amodi - 06.09.2023 13:46

keep going 😍🤩

Ответить
Alexander Nemechek
Alexander Nemechek - 06.09.2023 08:48

finally a good javascript video, clean information, straight to the point easy to understand, keep it coming!!!

Ответить
Umang Gupta
Umang Gupta - 05.09.2023 10:12

Key Concepts:
1.Execution Context:
a. Everything in JavaScript happens inside the Execution Context.
b. Think of it as a big box or container where your JavaScript code runs.

2.Components of Execution Context:
a. Memory Component (Variable Environment): This is where all variables and functions are stored as key-value pairs.
b. Code Component (Thread of Execution): This is where the code is executed one line at a time.

3.JavaScript's Nature:
a. Synchronous: Executes one command at a time and in a specific order.
b. Single-Threaded: Can only execute one command at a time.

Detailed Explanation:
1.Memory Component (Variable Environment):
a. It's like an environment where variables and functions are stored.
b. For example, if you have a variable a = 10, it will be stored here.

2.Code Component (Thread of Execution):
a. The code is executed one line at a time, following a thread-like structure.
b. This is why JavaScript is called a single-threaded language.

3. Synchronous & Single-Threaded:
a. JavaScript can only go to the next line of code once the current line has been executed.
b. This makes it synchronous and single-threaded.

Ответить
Hoàng Nam Lê
Hoàng Nam Lê - 05.09.2023 07:19

Exactly what I'm looking for

Ответить
Dinesh Kumar
Dinesh Kumar - 04.09.2023 16:29

Beautiful explanation I got love with Javascript

Ответить
Trending Shorts
Trending Shorts - 02.09.2023 15:49

You are very confident

Ответить
rinki kumari dubey
rinki kumari dubey - 01.09.2023 10:30

i like this video example and i am very excited to learn it more

Ответить
Mohammad Harish
Mohammad Harish - 30.08.2023 08:35

fulllll exited bhaiiiiiii

Ответить
Sadik Khan
Sadik Khan - 29.08.2023 23:18

Javascript is synchronous single threaded language

Ответить
asknehru
asknehru - 24.08.2023 14:40

I like the word, "Javascript is the synchronous single-threaded language"

Ответить
Pranav Jha
Pranav Jha - 22.08.2023 17:40

I liked how u explained Execution Context

Ответить
Pranav Jha
Pranav Jha - 22.08.2023 17:40

Thanks bro

Ответить
kodidela mamta
kodidela mamta - 22.08.2023 16:33

Teaching is very good and effective , can we get tutorials on react concepts as welll

Ответить
Tanish Singh Chouhan
Tanish Singh Chouhan - 22.08.2023 07:53

I liked how beautifully you explained the meaning of those definations and jargons and didn't skipped them.

Ответить
Ian Propst-Campbell
Ian Propst-Campbell - 21.08.2023 20:19

Core concept: Everything in javascript happens inside the execution context.

Ответить
Dark chhadhi
Dark chhadhi - 21.08.2023 16:59

How I buy your full course

Ответить
Duc Do minh
Duc Do minh - 19.08.2023 16:23

hey guys what docment should i read about this?

Ответить
Saleh Abdullahi
Saleh Abdullahi - 18.08.2023 14:20

I'm preparing to land my first develop job in the coming months, and i'm excited that this series will help me to crack interview

Ответить
shirohin raj
shirohin raj - 16.08.2023 21:12

superb vedeo ....great work...

Ответить
The rising singer
The rising singer - 16.08.2023 18:16

Ur explanation is amazing..akshay saini 🎊🎉🔥🔥

Ответить
MANIKANTA KORIMILLI
MANIKANTA KORIMILLI - 15.08.2023 08:00

fell in love with js ❤❤❤❤❤❤❤❤❤❤

Ответить
Ethereum Dev Channel
Ethereum Dev Channel - 13.08.2023 12:46

I am excited ❤

Ответить
Adil
Adil - 13.08.2023 07:52

i lked for your beatfl smile

Ответить
Akash Dubey
Akash Dubey - 11.08.2023 20:28

Rock!!!!!?

Ответить
9005 ABHINAY KUMAR RAI
9005 ABHINAY KUMAR RAI - 07.08.2023 21:10

Today, I started javascript lecture through NamasteJavaScript. So, I am very excited

Ответить
Daniel Arloff
Daniel Arloff - 07.08.2023 14:37

Way better explanation than my teacher at school!

Ответить
Kartikey Pandey
Kartikey Pandey - 07.08.2023 09:48

super excited

Ответить
Sharath
Sharath - 06.08.2023 16:58

learnings from this video:
- Everything in JavaScript happens inside the Execution Context (abstract environment created by JS to execute code)
- Execution Context contains two components
Memory component(Variable Environment) ⇒ where all the variables & functions are stored in key value pairs
Code component(Thread of execution) ⇒ code is executed one line at a time
- Js is Synchronous (in a sequence) single threaded language
(can execute one line at a time)

Ответить
usha namdeo
usha namdeo - 05.08.2023 10:34

Thankyou Sir, God Bless You with great Success and Happiness, in this era everyone wants to earn money by making videos premium, but you understand we all, make the you tube video for free for ALL, thanks a lot sir, for free videos

Ответить