DBDEVESH BAGHELinlearnwithdevesh.hashnode.dev00Understanding the this Keyword in JavaScriptApr 13 · 2 min read · What this Represents The keyword this means: “Who is calling the function” In simple words: this refers to the object that is executing the function this in Global Context When used outside any functJoin discussion
DBDEVESH BAGHELinlearnwithdevesh.hashnode.dev00Map and Set in JavaScriptApr 13 · 3 min read · What is a Map A Map is a collection of key-value pairs.Just like an object, but more powerful. Example let map = new Map(); map.set("name", "Devesh"); map.set("age", 21); console.log(map.get("nameJoin discussion
DBDEVESH BAGHELinlearnwithdevesh.hashnode.dev00Destructuring in JavaScriptApr 13 · 2 min read · What Destructuring Means Destructuring means: Extracting values from arrays or objects into variables In simple words: Direct value nikaal lo instead of writing long code Before vs After Without DestJoin discussion
DBDEVESH BAGHELinlearnwithdevesh.hashnode.dev00JavaScript Promises Explained for BeginnersApr 13 · 3 min read · What Problem Promises Solve Before promises, we used callbacks. Problem: nested callbacks (callback hell ) hard to read difficult to manage Example: step1(function() { step2(function() { stJoin discussion
DBDEVESH BAGHELinlearnwithdevesh.hashnode.dev00Synchronous vs Asynchronous JavaScriptApr 13 · 3 min read · What Synchronous Code Means Synchronous code runs step by step, in order. In simple words: One task runs, finishes, then the next task starts. Example console.log("Start"); console.log("Middle"); consJoin discussion