17. JavaScript switch statement. Explanation with examples.

preview_player
Показать описание

A switch statement can replace multiple if checks.
It gives a more descriptive way to compare a value with multiple variants.

Let's be friends:
Рекомендации по теме
visit shbcf.ru