javascript ternary expression - javascript conditional operator

preview_player
Показать описание
In this video you will learn what is Javascript ternary operator. We will check different usages like checking the presence of the value, nested ternary operator, function calls inside ternary operator Javascript and much more. Some people like ternary operator and think that it is a best javascript conditional operator and some think that they make code less readable. I will cover good and bad usages of ternary operator Javascript.

MOST POPULAR COURSES

SERVICES THAT I'M USING

CONNECT WITH ME!

TIMESTAMPS
0:00 Intro
0:23 Ternary operator javascript
2:10 Presence of the value
3:16 Imperative vs declarative ways
5:11 Nested ternary operators
8:07 Function calls with ternary operator
9:58 Outro

This video is NOT sponsored. Some product links are affiliate links which means if you buy something I'll receive a small commission.
Рекомендации по теме
Комментарии
Автор

Great lesson, I’m watching your amazing videos over here in Frankfurt. By the way, you look like German.

Mikael