title: Why does Number < String returns true in JavaScript?
body: <p>EDIT: I will rephrase my question, I type Number &lt; String and it returns true, also works when I do typeof(2) &lt; typeof("2").</p>
  
  <pre><code>Number &lt; String =&gt; true
  typeof(2) &lt; typeof("2") =&gt; true
  </code></pre>
  
  <p>I'm guessing it is the value of ASCII characters of each letter in Number and String but I am not sure if that is the reason this is returning true, and I want to know why does this happens, what processes or how does the interpreter gets to this result?</p>