SDSwarup Dasinblogs.swarupdas.dev·Jan 24 · 4 min readPrototypal Inheritance in JavaScriptWhen I started learning JavaScript, one sentence kept popping up everywhere: “JavaScript uses prototypal inheritance.” At first, it sounded intimidating. But once I understood how property lookup actually works, everything became much clearer. This...00
SDSwarup Dasinblogs.swarupdas.dev·Jan 23 · 3 min readJavaScript Power Trio: Mastering Call, Apply, and BindIf you have been working with JavaScript for a while, you’ve likely bumped into the this keyword. It’s powerful, but it can be slippery. Sometimes this doesn’t refer to what you think it does. This is where Call, Apply, and Bind come to the rescue. T...00
SDSwarup Dasinblogs.swarupdas.dev·Jan 22 · 5 min readMastering JavaScript's this Keyword: A Real-Life GuideThe definition seems simple: this refers to the current execution context. But in practice, it feels like this has a mind of its own. It changes based on how you call a function, not just where you write it. In this guide, we’ll break down every scen...00
SDSwarup Dasinblogs.swarupdas.dev·Jan 10 · 4 min readDebounce vs Throttle in JavaScriptWhen building modern web applications, performance matters.Events like scroll, resize, keypress, or API calls can fire hundreds of times per second, leading to laggy UI and unnecessary network requests. Two powerful techniques to handle this are Debo...00
SDSwarup Dasinblogs.swarupdas.dev·Jan 8 · 7 min readIntroduction to Gen-AIIntroduction to Generative AI: Understanding the Technology Reshaping Our World Artificial Intelligence has entered a revolutionary phase with the emergence of Generative AI. From writing code to creating art, composing music to generating human-like...00