Let’s check out the Shortest Program in JavaScript and more about the window and this keyword. Understand how the Global Execution Context is created, global object, and this keyword is created in JS. We’ll also talk about what happens under the hood of the JS Engine when you execute this shortest code in the browser.

JavaScript Engine creates a global object whenever you run any JS code. In the case of browsers, this global object is known as window, check out the video to see the demo of this global object created by the browser.

Topics Covered:

  • 00:00 - Introduction to the Shortest JavaScript Program
  • 00:19 - Behind the Scenes of the shortest JavaScript Program
  • 00:39 - Global Execution Context and window object in JavaScript
  • 01:40 - Introduction to this keyword in browser
  • 04:38 - Code example of variables and functions in Global Memory Space
  • 07:53 - Teaser - undefined vs. not defined in JS
  • 08:03 - Thank you for watching Namaste JavaScript 🙏

#javascript #programming #web-development #developer

SHORTEST JS Program 🔥window & this keyword | Namaste JavaScript
4.55 GEEK