javascript if statement = condition code example
Example: if condition javascript
if (condition){
// if true then execute this -}
else{
// if statment is not true then execut this -
}
if (condition){
// if true then execute this -}
else{
// if statment is not true then execut this -
}