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 use logical operators in switch statement in JS?

Leave a Reply

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