What is the difference between call & apply?
Answer / Sheshmani Saroj
Both call() and apply() are methods of a JavaScript function that let you invoke a function with a specified this value and arguments. The main difference lies in how arguments are passed: call() accepts comma-separated arguments, while apply() requires an array or an arguments object.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are nodes in javascript?
Give an example of closure?
What does polyfill mean?
How to go next field without filling the text? Which function should we use?
Define unescape() and escape() functions?
What is difference between deep and shallow object coping in javascript?
What is camelcase in programming?
how can we retrieve value from one database server and store them another database server using sql server code
Is there any difference between javascript and jscript?
What Does JavaScript Void(0) Mean?
What is client side programming?
Explain how to detect the operating system on the client machine?