Q&A Discussions
? : are called Ternary Operators.
ex.
var = booleanExp ? ValueIfTrue : ValueIfFalse;
and that ? literally means "Asking a Question" Asking if the Boolean Expression is True.
If the Boolean Expression returned true, the Value for "True" will be assigned to the variable.
If the Boolean Expression returned false, the Value for "False" will be the one that'll be assigned to the variable instead.
I'm not asking a question, I just wanna share this to you guys đ
18 Votes
6 AnswersHot today
Mobile number and similarity
1 Votes
Loops and conditions
2 Votes
GitHub account connecting issue
3 Votes
photo upload issue in html code
0 Votes
Coding issue
2 Votes
app for lessons
1 Votes
AlguĂ©m PortuguĂȘs por aqui?
0 Votes
Any coding competitions?
1 Votes