+ 5
it's called the "ternary operator".
x = a ? b : c;
is the same as
if(a)
x = b;
else
x = c;
Hope that helps!
2nd Oct 2017, 4:00 PM
Schindlabua

Often have questions like this?
Learn more efficiently, for free:
Hot today
Web Development Job
3 Votes
Extra challenges powered by ai
0 Votes
Hello
1 Votes