JavaScript Ternary Operator - What and How ?

preview_player
Показать описание
In this video, I explain the ternary operator in JavaScript. It is a convenient, terse way to write if statements. Sometimes people can get a little crazy with them, so I'll also share some examples of use cases that I think are logical opportunities to use them.

Рекомендации по теме