Closed gosukiwi closed 11 years ago
Implement ternary operator as such
title = (age > 18) ? "Mister" : "Boy"
Also, consider the following operator
age = getAge() ?? 18
That would translate as
$age = getAge() ? getAge() : 18;
Implement ternary operator as such
Also, consider the following operator
That would translate as