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

Are javascript variables global?

1073


What is the scope variable in javascript?

1005


Define escape() function?

893


What is foreach loop in javascript?

979


What is difference == and === in javascript?

960


Why is javascript so popular?

914


Is notepad ++ an ide?

867


What is array constructor in javascript?

1022


What are all the types of Pop up boxes available in JavaScript?

1089


In a java script, what is the difference between "==" and "===" operator?

1040


what difference between args.length and args.length() in command line argument?

2278


Write JavaScript code to use file system in binary format?

2522


Is javascript becoming obsolete?

916


What is stack in javascript?

954


Why do we need currying?

850