Q&A Discussões
Searching Q&A - no AND?
7 Votos
5 Respostas? : 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 Votos
6 RespostasWhy it's true?
1 Voto
2 Respostasjavascript false?
0 Voto
5 RespostasPlease explain this
0 Voto
8 RespostasА как понять булевые
1 Voto
4 RespostasWhy sometimes print 0
0 Voto
2 RespostasArrays
4 Votos
2 RespostasQuente hoje
Learn python
2 Votes
Help for study
1 Votes
Where's PHP and Ruby courses?
1 Votes
Detach thread exception
1 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
Not image in the page
0 Votes
How to make a 2d game
0 Votes