Compare Revisions

Function.prototype.apply()

Revision 17325:

Revision 17325 by evilpie on

Revision 17326:

Revision 17326 by anthonyryan1 on

Title:
apply
apply
Slug:
JavaScript/Reference/Global_Objects/Function/apply
JavaScript/Reference/Global_Objects/Function/apply
Tags:
javascript, apply
javascript, apply
Content:

Revision 17325
Revision 17326
tt12    </p>
13    <p>
14      It is worth noting, that while the syntax and effect is alm
 >ost identical to that of <a href="/en/JavaScript/Reference/Global
 >_Objects/Function/call" title="https://developer.mozilla.org/en/J
 >avaScript/Reference/Global_Objects/Function/call">call</a>, the f
 >undamental difference is that call will pass the arguments by val
 >ue, while apply will pass by reference.

Back to History