title: Applying a Function to Null in Javascript
body: <p>Why does the following work:</p>
  
  <pre><code>function sum(a,b) { return a + b; }
  var result = sum.call(null,3,4);     // 7
  </code></pre>
  
  <p>Why is result defined? I am invoking sum as a method of null. But null is not an object and cannot have properties!</p>
  
  <p>What is going on?</p>