title: Why aren't my conditional statements working with regular expressions in javascript?
body: <p>I've just started learning about regular expressions. I wrote a basic program to test myself, but the conditional statements never fire. Here's my code:</p>
  
  <pre><code>console.log("running program...")
  
  if("a" == /[a-zA-Z]/){           //if "a" is a letter character (should be true)
      console.log("it worked");
  };
  </code></pre>
  
  <p>What part of my syntax is wrong?</p>
  
  <p>EDIT: Thanks to quantas, hanky and felix for the help and explanation!</p>