title: Comparing Strings in an IF statement
body: <p>The country_code in this case can be DE or GB.</p>
  
  <pre><code>var cc = country_code
  
  if (cc.equals == "GB"){
      console.log("You're in the UK")
    }
    else {
      console.log("You're not in the UK")
  }
  </code></pre>
  
  <p>Why is this statement throwing up incorrect responses?</p>
  
  <p>EDIT:</p>
  
  <p>The missing " was a typo.
  The solutions given haven't work so far.</p>
  
  <p>I set country_code to be the text response of a XMLHttpRequest object.
  If that helps?</p>