Q&A Discussions
Searching Q&A - no AND?
7 Votes
5 Answers? : 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 AnswersWhy it's true?
1 Vote
2 Answersjavascript false?
0 Votes
5 AnswersHow does one use Boolean?
0 Votes
2 AnswersPlease explain this
0 Votes
8 AnswersА как понять булевые
1 Vote
4 AnswersWhy sometimes print 0
0 Votes
2 AnswersUsing 'and' vs a range?
0 Votes
2 AnswersHot today
Functions in python
2 Votes
How to make a playground
1 Votes
I need advice
1 Votes
Html 5 document question
1 Votes
Python
0 Votes
𝙵𝙸𝙽𝙳 𝚃𝙷𝙴 𝙸𝙽𝙿𝚄𝚃 𝙾𝙵 𝚃𝙷𝙴 𝙿𝚁𝙾𝙶𝚁𝙰𝙼
1 Votes