I have a code like this:
if (action == \'John\' || action == \'John Beckham\' || action == \'Henry John\'){ alert(\'true!\'); }
How do I m
if('abcdefg'.indexOf(action) > -1){ // action is one of 'abcdef' }