|
|
||||||||
|
||||||||
|
||||||||
|
|
|
| The Ternary comparison operator is an alternative to the if-else statement, it's shorter and could be used to easily do a significant difference depending on a condition without the need of a if statement. The Ternary operator is made for two different actions, one if the condition is true, the other one if it's false but with nested Ternary operators we can use it like an if-elseif.else statement(more to that later). | ![]() |
| |
|
• Discuss Tutorial
• Comment On Tutorial |
• View Tutorial
• Report Broken Link |
|
|