Compare Revisions

Function.prototype.call()

Change Revisions

Revision 35141:

Revision 35141 by roydukkey on

Revision 35142:

Revision 35142 by anthonyryan1 on

Title:
call
call
Slug:
JavaScript/Reference/Global_Objects/Function/call
JavaScript/Reference/Global_Objects/Function/call
Tags:
JavaScript, "JavaScript Reference"
JavaScript, "JavaScript Reference"
Content:

Revision 35141
Revision 35142
tt12    </p>
13    <p>
14      It is worth noting, that while the syntax and effect is alm
 >ost identical to that of&nbsp;<a href="/en/JavaScript/Reference/G
 >lobal_Objects/Function/apply" title="https://developer.mozilla.or
 >g/en/JavaScript/Reference/Global_Objects/Function/apply">apply</a
 >>, the fundamental difference is that call will pass the argument
 >s by value, while apply will pass by reference.

Back to History