title: Javascript string equals on of these symbols
body: <p>I am trying to evaluate if a string is equal to one of these symbols <code>|\~+</code></p>
  
  <p>But this doesn't work:</p>
  
  <pre><code>var a = 'abcted',
      b = '|\~+';
  
  if( a !== b ){
  }
  </code></pre>
  
  <p>So if <code>a</code> is equal to one of the symbols in <code>b</code>, is evaluates to <code>false</code>.</p>