Course contentsShow
JavaScript
Lesson 227 of 2,7236. Booleans and ConditionalsPro lesson

The Ternary Operator Syntax

Learn the compact `condition ? exprIfTrue : exprIfFalse` syntax for conditional expressions.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.