title: Can I check for not equal in a JavaScript switch statement?
body: <pre><code>var t = "TEST";
  switch(t){
      case !"TEST": /* &lt;- does not work. Can you check if t does NOT contain a string? */
          alert("t != TEST");
      break;
  }
  </code></pre>
  
  <p>Can you do this with a switch statement?</p>