Me again :)
I found an issue regarding the evaluation of ternary operator expressions:
5 == 5 ? 4 : 1 results in 4, good
1 == 1 ? 1 : 0 results in 1, good
0 == 0 ? 0 : 1 results in 1, unexpected; apparently 0 is not equal to 0
just 0 == 0 results in true though, so it must be something with the ternary operator
Me again :)
I found an issue regarding the evaluation of ternary operator expressions:
5 == 5 ? 4 : 1results in 4, good1 == 1 ? 1 : 0results in 1, good0 == 0 ? 0 : 1results in 1, unexpected; apparently 0 is not equal to 0just
0 == 0results in true though, so it must be something with the ternary operator