F&A Diskussionen
? : 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 Stimmen
6 AntwortenNeed help
1 Stimme
3 AntwortenHeute heiß
Activities on sololearn
4 Votes
playground input
1 Votes
Html issue
2 Votes
Can you help me ?
1 Votes
How I can use div
1 Votes
TIPS From Veterans
1 Votes
App development 🔥☝️
1 Votes
Playground input
1 Votes
Computer architecture
1 Votes