javascript if else | javascript if else condition in hindi | javascript if else statement
In this syntax, condition is any expression that evaluates to either true or false. If condition is true, then the code inside the first block (the one after the if) will be executed. If condition is false, then the code inside the second block (the one after the else) will be executed.