Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is call(), apply(), and bind()?

Answer Posted / glibwaresoftsolutions

These methods allow you to manually set the value of this inside a function.
Method Usage
call() Calls a function with a given this and arguments passed separately.
apply() Calls a function with a given this and arguments passed as an array.
bind() Returns a new function with a bound this, without executing it immediately.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is javascript hard to learn?

903


Should I learn java first or javascript?

966


What is NaN in Javascript?

1028


What are anonymous functions in Javascript?

1023


Can you assign an anonymous function to a variable and pass it as an argument to another function?

873


What are decodeuri() and encodeuri() functions in javascript?

1052


Why javascript is not secure?

958


What boolean operators can be used in JavaScript?

1020


What is lambda in programming?

969


How to calculate fibonacci numbers in javascript?

1032


Define event bubbling?

915


What is the use of window object?

982


What is isnan in javascript?

1046


Explain promise in javascript?

865


What are the data types in js?

970