JavaScript Engine and code execution

preview_player
Показать описание
In this chapter, you will learn how the JavaScript code which we write, is executed. A JavaScript code is always hosted in some environment and in case of client-side JavaScript, the environment is most typically, a browser such as google chrome, safari etc.

So, a client-side JavaScript program runs inside a browser. When we write a JavaScript code and run it inside the browser, there is a lot of things happen behind the scene.

Every browser has something called as a JavaScript engine that is responsible for executing JavaScript code. There are many JavaScript engines like V8 of Google chrome, SpiderMonkey for Firefox etc.

Let's understand how a JavaScript engine executes a JavaScript code.
Рекомендации по теме
Комментарии
Автор

GREAT LECTURE AND QUITE CLEARLY EXPLAINED! I AM REALLY STARTING TO UNDERSTAND! THANKS A LOT DEAR SIR!

hannabouttros
Автор

completely wrong. you missed a part about interpreter, bytecode, optimizer etc.

wijionemaster