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

How do I disable javascript in my browser?

1115


how can we retrieve value from one database server and store them another database server using sql server code

2197


How to embed javascript in a web page?

973


What are undefined and undeclared variables?

1013


How and where javascript namespacing is used?

993


What is use strict in javascript?

984


What is the use of a weakmap object in javascript?

1011


How to get the type of arguments passed to a function?

963


Explain closures in javascript?

946


What is viewstate in javascript?

1088


What is the difference between test () and exec () methods?

1174


How to port a GUI application onto Web

2191


What is bom?

956


What are the javascript objects?

1011


what is the function of public class main ?

2050