Is there a better way to write the following conditional in javascript?
if ( value == 1 || value == 16 || value == -500 || value == 42.42 || value == \'somet
var value= -55; switch(value){ case 1: case 16: case -55: case 42.5: case 'something': alert(value); break; }