Can you use && in switch?

7 Answers. The simple answer is No. You cant use it like that . Switch works with single expression.

Sizin İçin Seçtik  Is switch case better than if else JavaScript?

Leave a Reply

Your email address will not be published. Required fields are marked *