Call(),Apply(),Bind() Methods

E.Tulasi Ram - Aug 14 - - Dev Community

Call() :

  • Call() method is used to invoke a function directly by passing the reference which is points to the 'this' variable inside method.

Apply():

  • Apply() method is similar to call method but only differeces is it takes the 2nd arguments has a array list of of the parameter which is passed to the function.

Bind():

  • Bind() method does not directly invoke the method but gives to the copy of the exactly same method which can be invoke later.
. . . .
Terabox Video Player