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. 🙏 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 - / akshaymarch7 Instagram - / akshaymarch7 Twitter - / akshaymarch7 Facebook - / akshaymarch7 #NamasteJS #AkshaySaini

50000 Subscribers Party ft. Trump, Snoop Dogg & Bilal Göregen - Cat Vibing

FIRST CLASS FUNCTIONS 🔥ft. Anonymous Functions | Namaste JavaScript Ep. 13

Asynchronous JavaScript & EVENT LOOP from scratch 🔥 | Namaste JavaScript Ep.15

setTimeout + Closures Interview Question 🔥 | Namaste 🙏 JavaScript Ep. 11

Callback Functions in JS ft. Event Listeners 🔥| Namaste JavaScript Ep. 14

It took me 12 years to realise that I'll tell you in 35 minutes (as a Software Engineer)

Ex-Google Recruiter Explains Why "Lying" Gets You Hired

JS Engine EXPOSED 🔥 Google's V8 Architecture 🚀 | Namaste JavaScript Ep. 16

Closures in JS 🔥 | Namaste JavaScript Episode 10

Event Bubbling, Capturing aka Trickling in Javascript | Oyo UI/Frontend Interview Question

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

Why Sperm Whales Are The Most TERRIFYING Apex Predator On Earth

this keyword in JavaScript 🔥 | Ep.06 - Namaste JavaScript Season 2 🙏

Ms. Rachel Answers Parenting Questions | Tech Support | WIRED

Tech MELTDOWN After AI ESCAPE and HACK

Keynote: After the AI Hype – What’s Real, and What’s Next - Richard Campbell - 2026

China Just Built an AI Chip Out of Light (To Bypass Silicon Limits)

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

Promise APIs + Interview Questions 🔥 | S.02 Ep.05 - Namaste JavaScript | all, allSettled, race, any

I Investigated India’s Biggest Smartphone Controversy

Callback Hell | Ep 01 Season 02 - Namaste JavaScript

4.5 Years Experienced Best Javascript Interview | Chakde Frontend Interview EP - 01

The DSA Roadmap 2026 (with FREE resources)

System Design Course – APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

