title: Difference TypeError and ReferenceError
body: <p>What's the differnce between</p>
  
  <pre><code>TypeError: ... is undefined
  </code></pre>
  
  <p>and</p>
  
  <pre><code>ReferenceError: ... is not defined
  </code></pre>
  
  <p>?</p>