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
How do I disable javascript in my browser?
how can we retrieve value from one database server and store them another database server using sql server code
How to embed javascript in a web page?
What are undefined and undeclared variables?
How and where javascript namespacing is used?
What is use strict in javascript?
What is the use of a weakmap object in javascript?
How to get the type of arguments passed to a function?
Explain closures in javascript?
What is viewstate in javascript?
What is the difference between test () and exec () methods?
How to port a GUI application onto Web
What is bom?
What are the javascript objects?
what is the function of public class main ?