Q&A Discussies
? : 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 Stemmen
6 AntwoordenNeed help
1 Stem
3 AntwoordenPopulair vandaag
debate which is better
6 Votes
Text editor
0 Votes
Debugging issue?
0 Votes
Mobile app not working sometimes
0 Votes
how to view only application
0 Votes
If very confusing
0 Votes
Arduino
2 Votes
Scraping
0 Votes