The new Keyword in JavaScript
At some point while learning JavaScript, you've probably written something like this without fully questioning it : let today = new Date(); let pattern = new RegExp("hello"); The new keyword just...

Search for a command to run...
Articles tagged with #chai-code
At some point while learning JavaScript, you've probably written something like this without fully questioning it : let today = new Date(); let pattern = new RegExp("hello"); The new keyword just...

Let's start with a real life situation, you've definitely lived through : You call a restaurant to order food. The person on the phone says, "We'll call you back when your order is ready." So you hang

Imagine a car company designing a new car model. Before building thousands of cars, engineers first create a blueprint. That blueprint describes what every car should have — things like wheels, engine

When writing programs, we often need the computer to make decisions. For example: If it is raining → take an umbrella If a student scores above 40 → they pass If today is Sunday → take a holiday

Variables are the first step in any programming language. Variables are fundamental because they allow us to store the information in our program and use those informations letter in the code. This ar
