Async Await in JavaScript Writing Cleaner Asynchronous CodeWhen we learned about asynchronous JavaScript we saw how callbacks work. Then promises came to solve callback nesting. But even promises can feel messy sometimes with .then() chains. So JavaScript intMar 24, 2026·3 min read·1
Destructuring in JavaScriptWhen we work with arrays and objects in JavaScript, we often need to take values out of them. Normally we do something like: const user = { name: "Dhiraj", age: 20 } const name = user.name const Mar 24, 2026·3 min read·1
String Polyfills and Common Interview Methods in JavaScriptIn JavaScript we use string methods all the time. includes(), slice(), toUpperCase() we just use them and move on. But in interviews or real problem solving, you might get asked: how does this work inMar 24, 2026·3 min read·1
Map and Set in JavaScriptIn JavaScript, we usually use objects and arrays for most things. Objects for key value data, Arrays for lists But sometimes these are not enough. Like: you want keys that are not just strings you wMar 23, 2026·3 min read·4
Understanding the `this` Keyword in JavaScriptWhen we start writing JavaScript, everything feels simple. Variables, functions, objects all good. Then suddenly we see this. And things start getting confusing. Sometimes it works, sometimes it doesnMar 23, 2026·3 min read·1
Callbacks in JavaScript: Why They ExistWhen we write JavaScript, we usually call functions and get results immediately. Everything feels simple you call something, it runs and gives back output. But in real world apps, things are not alwayMar 23, 2026·4 min read·19
Array Flatten in JavaScriptWhen working with arrays, sometimes we don’t get a simple flat array. Instead, we get nested arrays. That means arrays inside arrays. Example: const arr = [1, [2, 3], [4, [5, 6]]] Now this is not a sMar 23, 2026·3 min read·1