|
|
@ -111,7 +111,7 @@ if (isRaining) {
|
|
|
|
// No need for a rain coat.
|
|
|
|
// No need for a rain coat.
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
The above condition is false, therefore the else block was executed. How about if our condition is more than two, we will use *ele if* conditions.
|
|
|
|
The above condition is false, therefore the else block was executed. How about if our condition is more than two, we will use *else if* conditions.
|
|
|
|
|
|
|
|
|
|
|
|
### If else if else
|
|
|
|
### If else if else
|
|
|
|
|
|
|
|
|
|
|
@ -309,4 +309,4 @@ isRaining
|
|
|
|
|
|
|
|
|
|
|
|
🎉 CONGRATULATIONS ! 🎉
|
|
|
|
🎉 CONGRATULATIONS ! 🎉
|
|
|
|
|
|
|
|
|
|
|
|
[<< Day 3](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/03_Day/03_day_booleans_operators_date.md) | [Day 5 >>](#)
|
|
|
|
[<< Day 3](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/03_Day/03_day_booleans_operators_date.md) | [Day 5 >>](#)
|
|
|
|