JavaScript Runtime Environment

preview_player
Показать описание
In this lecture and in next few lecture, we are going to learn about how JavaScript programs are executed behind the scenes. This is a very important concept to learn about and every modern JavaScript developer should be aware of how JavaScript works behind the scenes.

Let’s start by understanding what JavaScript runtime is. Remember that, what we are going to learn now is very important concept. I will use this concept to explain many other JavaScript related topics.

A JavaScript runtime is an environment which provides all the necessary components in order to use and run a JavaScript program. These runtime environments can be a slightly different when we use JavaScript in browser and when we use it as a server-side language using NODE JS. However, the basic structure of a runtime environment remains same.

What is JavaScript Runtime consist of?

A JavaScript runtime in case of browser, consist of following components which forms a complete runtime environment:
• JavaScript engine
• Web API
• Callback Queue
• Microtask Queue.
Let’s talk about each of these components one by one in this lecture.
Рекомендации по теме
Комментарии
Автор

I've been wondering what exactly is runtime, you explained it plain and simple. Thank you!

warrenb
Автор

This video deserves more views. it explains clearly a concept that oh so many others simply pretend you already know and understand, while others trip while trying to explain it. Thanks.

agsiar
Автор

the most underrated tutorial ever seen

muhammadrehan
Автор

You deserve in million views. Literally i am spending this weeks most of my time on your resource, will also in entire year. You're in born lecturer. Love you brother❤

esmaelmohamed
Автор

Thank you so much. I have been waiting for a good explanation of Runtime. You do a great job of teaching and explaining things 😊

thetiredworker
Автор

Amazing stuff. No other video really explains all of this. Thank you so much 🙏

ajnil
Автор

very nice and clean explanation made all my doubts go away

Relaxingmusic-twqn
Автор

How does node js fits here?
Like we say node js is a run time env. How?

dhruvbhatnagar
Автор

How we can run `console.log()` in nodejs while it does not contain `WebAPIs`

kingjoo
Автор

Hey great video!! So couldn’t you perceive of node as a language then

dixztube