Updated typo and more info (#21787)
This commit is contained in:
@ -11,7 +11,7 @@ if (condition) {
|
|||||||
// Do something when `condition` is true
|
// Do something when `condition` is true
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Do something when `condition` is false
|
// Do something when original if `condition` is false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ if (condition) {
|
|||||||
// Do something if `condition` is true
|
// Do something if `condition` is true
|
||||||
}
|
}
|
||||||
else if (anotherCondition) {
|
else if (anotherCondition) {
|
||||||
// Do something if `anotherCondition` is ture
|
// Do something if `anotherCondition` is true
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Do something if `condition` AND `anotherCondition` is false
|
// Do something if `condition` AND `anotherCondition` is false
|
||||||
|
Reference in New Issue
Block a user