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

aizon

E.Tulasi Ram

Posted on August 14, 2024

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.
πŸ’– πŸ’ͺ πŸ™… 🚩
aizon
E.Tulasi Ram

Posted on August 14, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related