true ? 1 : 2 + 3 // why is this 1? False = 0, true = 1 right? // Then why is this 1 .
also
24 / 6 * 2 // I got this as well.
has value 8, not value 2; likewise, the weird-looking expression
true ? false : true ? false : true // how? I don't understand the if true then false? false true?