Closed maccallum closed 10 years ago
[true, false] ? /x = 1 : /x = 2
The first argument is always evaluated
The ternary conditional (syntactic sugar for if(, , )) no longer does scalar expansion.
[true, false] ? /x = 1 : /x = 2