Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
Whic is the other way of performing if else statements
This? a > b ? alert(a) : alert(b)
1 Answer
+ 3
That is conditional expressions also known as applications of the ternary operator.