Mar 9 · 5 min read · What You Will Learn From This Blog By the end of this article, readers will: Understand how JavaScript methods exist even when we never define them on variables Learn how prototype chaining works in
Join discussion
Jan 31 · 10 min read · Context & About Me I am a B.Tech IT student currently re-learning JavaScript internals deeply to master Backend Engineering. I learned these concepts from Hitesh Choudhary (channel name: Chai aur Code). I watch his videos, understand them, and write ...
Join discussion
Sep 29, 2025 · 13 min read · 1️⃣ The Situation You have a base class with virtual functions. You allocate a derived object using a base pointer: class Base { public: virtual void func() { } ~Base() { cout << "Base dtor\n"; } // ❌ Non-virtual }; class Derived : publi...
Join discussionJul 9, 2025 · 8 min read · What are classes in ECMAScript 6? “In JavaScript classes are the blueprint of creating Object”. This we have heard over every blog, article and documentation, but what does this actually mean. Let’s understand by a small real life example, Suppose yo...
Join discussionJul 7, 2025 · 3 min read · In JavaScript, there are two common patterns for creating multiple similar objects: Factory Functions Constructor Functions Both help in object creation, but they differ in syntax, style, behavior, and flexibility. In this article, we’ll explore:...
Join discussion