Consider the following:
var a = 'jesus';
if(a == 'something' || a == 'nothing' || a=='anything' || a=='everything'){
alert('Who cares?');
}
Is there a way to make this shorter?
Is there anything in Javascript like if (a=='bbb'||'ccc')
?
In addition, can jQuery help here?