Actualités

Developers use statements to control the overall program flow, including variable declarations, conditional operations, and iterative processes. Here's how to write JavaScript statements.
An alert is a simple dialog (modal) that displays a message to the user. It is often used to provide information or to get the user's attention. Alert pauses the executing of the current javascript ...
In JavaScript, the if/else statement is used to make decisions in your code based on a condition. It allows you to execute one block of code if a certain condition is true and another block of code if ...
Do you ever find yourself writing a lengthy switch statements or if statements structured like a switch. Luckily there is the Strategy Pattern to help alleviate this complex, sometimes unintelligible ...