Discussions Q&R
Searching Q&A - no AND?
7 Votes
5 Réponses? : 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 RéponsesWhy it's true?
1 Vote
2 Réponsesjavascript false?
0 Vote
5 RéponsesPlease explain this
0 Vote
8 RéponsesА как понять булевые
1 Vote
4 RéponsesWhy sometimes print 0
0 Vote
2 RéponsesArrays
4 Votes
2 RéponsesAujourd'hui en vedette
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
I’m new someone can help me
0 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes