CRAZY JS INTERVIEW 🤯ft. Closures | Namaste 🙏 JavaScript Ep. 12



A JavaScript Interview covering in-depth QnA of closures, Data Hiding, Encapsulation, Function Constructors, Garbage Collector, Memory Leaks, Data Privacy with nitty-gritty details along with advantages, and disadvantages of Closure with a lot of code examples.

This is basically the third part of the videos covering the Closures topic in-depth end to end.
The previous 2 videos already released are:
0. Closures in JS – Namaste JavaScript Episode 10
1. Most asked setTimeout + Closures Interview question – Episode 11
2. This video above ☝🏽- Episode 12

These 3 videos will build a strong foundation of the Closures topic in your head, for a LIFETIME.

The only request is to watch this Episode of Namaste JavaScript with the utmost attention. 🙏

My tech gear I use every day – http://google.peek.link/2pba

Topics Covered:
00:00 – Teaser – The Crazy Interview
00:26 – What is a Closure in JavaScript?
01:34 – Can you give an example of a Closure in JS?
03:29 – Use of double parenthesis ()() in JS
05:25 – Are Let declarations closed over?
06:15 – Are function parameters closed over?
07:45 – Relation of Scope Chain and Closures
10:25 – Conflicting name Global variables in JS
13:25 – Advantages of Closure
14:24 – Data Hiding & Encapsulation in JavaScript?
14:59 – Example of Data Privacy using Closures
21:10 – Function Constructor in JavaScript
25:02 – Disadvantages of Closures?
26:02 – What is a Garbage Collector in JavaScript?
27:25 – Relation between Garbage Collection, Memory Leaks, and Closures?
29:42 – Example of Smart Garbage collection by V8 JS Engine in Chrome
32:00 – Result of the Crazy JS Interview
32:10 – Thank you for watching Namaste JavaScript 🙏

Support this video series, NOT BY MONEY, but by sharing it with your friends. 🙏
I’ll give my best to come up with great content and everything absolutely for free on YouTube. 😊

If you are active on Social Media,
please give a shoutout to Namaste JavaScript and help me reach more people. 🙏

Cheers,
Akshay Saini
http://akshaysaini.in

Would love to Stay Connected with you ❤️
LinkedIn – https://www.linkedin.com/in/akshaymarch7
Instagram – https://www.instagram.com/akshaymarch7
Twitter – https://twitter.com/akshaymarch7
Facebook – https://www.facebook.com/akshaymarch7

#NamasteJS #AkshaySaini

Comments are closed.