Destructuring in JavaScriptYou’ve definitely written code like this: const user = { name: "Tejas", age: 20, role: "SDE" }; console.log(user.name); console.log(user.age); console.log(user.role); At this point you're not Apr 27 · 3 min readtejasxdev.hashnode.dev
Array Flatten in JavaScriptWhat nested arrays are Nested means nested. Arrays means arrays, so nested arrays means nested arrays, as simple as that. Here is an nested array. [1, 2, [3, 4], 5, [6, [7, 8], 9]] This is a differenMar 24 · 3 min readtejasxdev.hashnode.dev
Understanding Object-Oriented Programming in JSWhen people hear Object-Oriented Programming (OOP) for the first time, it sounds like some big scary computer science concept. But in reality it's just a way to organize code so that it becomes easierMar 15 · 4 min readtejasxdev.hashnode.dev
The Magic of this, call(), apply(), and bind() in JavaScriptIn JavaScript, there is one keyword which confuses beginners more than recursion, pointers and sometimes even their own life decisions. That keyword is this. You’ll see it everywhere in JS code, but aMar 15 · 4 min readtejasxdev.hashnode.dev
Arrow Functions in JavaScript: A Simpler Way to Write FunctionsFunctions in JS are great, they make code reusable so you don't have to write the same logic again and again. But sometimes writing normal functions feels a bit too verbose like ex. Like you write funMar 15 · 4 min readtejasxdev.hashnode.dev