What is the ? operator


#1

Im on 9.ternary conditional and it is showing the use of a ? in the code but it hasn't introduced what that means.


#2

They are introducing you to it right now, in this exercise. It is called the "ternary operator".


#3

Once you read over that exercise, and had a chance to look at this:

(pointsScored > 20) ? 'W' : 'L';

Let me know if you have any questions about it.