I have gotten into the habit of using Array.includes as a replacement for longer if statements.
e.g.
let varibale = 'a';
if ['b', 'c', 'd'].includes(variable) ...
instead of
let varibale = 'a';
if variable === 'b' || variable === 'c' || variable === 'd' ...
I wonder if this has a notable negative impact on performance or any other technical drawbacks?