I would like to check whether variable `a` is equal to `b` or `c`.
Of course I know the explicit way to do this;

```
a === b || a === c

```

but is there a shorthand way of doing this in **Javascript**? I mean, for example,

```
a === (b || c)

```

does *not* work.

I found similar questions here

* [Short hand to do something like: if($variable == 1 || $variable == "whatever" || $variable == '492') .](https://stackoverflow.com/questions/8205377/short-hand-to-do-something-like-ifvariable-1-variable-whatever)
* [PHP: If a equals b or c or d](https://stackoverflow.com/questions/11611540/php-if-a-equals-b-or-c-or-d)

but they are talking about PHP.