Can we use boolean in switch case JavaScript?

C static code analysis: Switch statement conditions should not have essentially boolean type.

Sizin İçin Seçtik  Can we write condition in switch case?

Leave a Reply

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