blog.dhiraj.devArray Methods You Must KnowArrays help us store multiple values in a single variable. But storing data is only part of the story. Most of the time we also need to process that data. For example: change values remove unwanted 1d ago·4 min read
blog.dhiraj.devThe Magic of this, call(), apply() and bind() in JavaScriptWhat this Means in JavaScript In JavaScript, this is a reference to an object, but it depends on how and where we use it. In a Node environment without strict mode, this refers to the global object. I2d ago·4 min read
blog.dhiraj.devJavaScript Arrays 101When we write programs we often need to store multiple values. For example imagine storing movie names. let movieOne = "Inception" let movieTwo = "Interstellar" let movieThree = "Dune: Part Two" This4d ago·4 min read
blog.dhiraj.devJavaScript Operators: The Basics You Need to KnowJust like we need operators to do mathematics in real life, we also need them in any programming language. In JavaScript too. In JS we have arithmetic operators. We also have more operators for validaMar 3·4 min read
blog.dhiraj.devUnderstanding JavaScript Promises with Shaktimaan vs Dr. JackalOkay let's understand Promise with Shaktimaan. In one episode Dr Jackal created a clone of Shaktimaan. The clone looked exactly like the real Shaktimaan but he was working for evil. People in the cityMar 1·4 min read