I have some code like this:
if ($(event.target).is('.class1') || $(event.target).is('.blab') || $(event.target).is('.foo') || $(event.target).is('.cbncvbn') || $(event.target).is('.dfghdfgh') || $(event.target).is('.tryrty')) {
// Do something
}
Is there a more succinct way to write this?
PS: I know there are better ways to do the same thing, but this question is about the syntax of the conditions.
Thanks.