?
The ternary operator is a different, often more concise, way of writing an if/else conditional.
If you'd like, Tyrel Chambers wrote an article about the ternary operator.
const colour = "blue" colour === "blue" ? "It's blue!" : "it's red!"