Conditional Expression
摘要
The following example uses the if-else statement to assign the value to our result variable based on some (x > 10) condition: