Updated typo and more info (#21787)

This commit is contained in:
jacheg
2018-11-04 17:59:47 -08:00
committed by Manish Giri
parent 77bf9f968f
commit dc09ca3e25

View File

@ -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