Why can === have some odd behavior in Javascript?
<p>I'm raising the question as seen from <a href="http://www.codecademy.com/courses/programming-intro/5#!/exercises/4" rel="nofollow">this Code Academy lesson</a>. Thanks in advance for your explanations.</p>

<p>Hope this is not repeated too often.</p>

<p>-------- Explanation from the lesson is added below ----------------</p>

<blockquote>
  <p>You may have noticed we've used two types of equals thus far, the single equals (=) and the double or triple equals (==, ===). The single equals (=) assigns a variable, while the double and triple equals (==, ===) are used to check equivalence between values. Since == can have some odd behavior in JavaScript, it is almost always better to use ===.</p>
  
  <p>Run this exercise to see what it does. It first sets the variable word to the string "this". Change the code so that word === "that" evaluates to true, and the console.log() command is run.</p>
</blockquote>
