Discussões Q&A
Why does this happen
 7 Votos
 3 RespostasStill Dont Get It
 9 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 RespostasPopular hoje
Remove
 0 Votes
I need help to solve this
 0 Votes
Engineer Cloud
 0 Votes
Project
 0 Votes
Lua?
 1 Votes