What is a ternary operator?

The three-part ternary operator helps us write compact conditionals. Is it easier or harder to read than a standard conditional expression? Let's learn the basics about it.

Some stuff to help you along during the lesson: