Обсуждения
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 ответовАктуальное сегодня
TICTACTOE
1 Votes
Error
0 Votes
Learn python
2 Votes
BIG DOUBT🤔🤔🤔🤔
2 Votes
Need help (French)
1 Votes
Help for study
0 Votes
Spying on me
1 Votes
Where's PHP and Ruby courses?
1 Votes
What's an unsigned int?
0 Votes