DEV Community

Cover image for Call(),Apply(),Bind() Methods
E.Tulasi Ram
E.Tulasi Ram

Posted on

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

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.

Top comments (0)