Common JavaScript Manual/Condition operator

Conditional operator
If we need just set value for any variable in depent of condition, we can use conditional operator. It's shorter than "if" expression many times. Let's see example.

Nested conditional operator
As 'if' expression so and Conditional operator can be multiple.