Обсуждения
Searching Q&A - no AND?
7 голосов
5 ответов? : 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 голосов
6 ответовWhy it's true?
1 голос
2 ответов“not False” is still ”False”?!
0 голосов
1 ответJAVASCRIPT CHALLENGE QUESTION
3 голосов
1 ответjavascript false?
0 голосов
5 ответовПривет рускоговорящие, HELP
1 голос
2 ответовHow does one use Boolean?
0 голосов
2 ответовPlease explain this
0 голосов
8 ответовА как понять булевые
1 голос
4 ответовAlternative use of % in Python:
0 голосов
2 ответовWhy sometimes print 0
0 голосов
2 ответовUsing 'and' vs a range?
0 голосов
2 ответовprint( 7 and '0' and 1)
2 голосов
5 ответовАктуальное сегодня
??
1 Votes
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Hello guys,
1 Votes
Help me
1 Votes