chiragjaipal.hashnode.devFunction Declaration vs Function Expression in JavaScript (Beginner Friendly Guide)You might have heard developers say something like this: Write your code in a way that it stays readable and non-repetitive. But what does repetitive code actually mean? Why do developers try to avo1d ago·13 min read
chiragjaipal.hashnode.devControl Flow in JavaScript: If, Else, and Switch ExplainedIn the previous articles, we learned two important things. First, we learned how to store information using variables. Then we learned how to perform operations on that information using operators. 2d ago·14 min read
chiragjaipal.hashnode.devJavaScript Operators: The Basics You Need to KnowIn the previous article, we learned how to store information using variables. But learning how to store information is only the first step in our programming journey. If we write: let a = 10; let b = 3d ago·9 min read
chiragjaipal.hashnode.devA Beginner’s Guide to Variables and Data Types in JavaScriptImagine you have a few empty boxes in front of you. You write “Name” on one box and “Age” on another. Then you put your name inside the first box and your age inside the second. In JavaScript, a varia3d ago·8 min read
chiragjaipal.hashnode.devPromises in JS: From Callback Chaos to Clean CodeHave you ever heard about this phrase? : "JavaScript is a single-threaded language."Now some of you will think. What is the meaning of this Single threaded ? Wait! i'll explain. Think of a Thread as a5d ago·9 min read