Call(),Apply(),Bind() Methods
E.Tulasi Ram
Posted on August 14, 2024
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.
π πͺ π
π©
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.