Whic is the other way of performing if else statements | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Whic is the other way of performing if else statements

This? a > b ? alert(a) : alert(b)

8th Jun 2020, 4:09 PM
Big Dee💯✨
1 Antwort
+ 3
That is conditional expressions also known as applications of the ternary operator.
8th Jun 2020, 4:21 PM
boolean
boolean - avatar