javascript call() function this context
<p>In the following code, </p>

<pre><code>var toString = Object.prototype.toString;

toString.call(new Date); // [object Date]
toString.call(new String); // [object String]
toString.call(Math); // [object Math]
</code></pre>

<p>in the call  the current object is passed like ( <code>toString.call(new Date)</code>) , but in the receving end  <code>var toString = Object.prototype.toString;</code> here instead of using <code>this</code> keyword they are using <code>Object</code> keyword but still got the correct answer i didn't understand this concept.Anyone pls help me in understanding this concept</p>
