What is the difference between .call() and .apply()?
Answer / Ashish Ku. Singhn
.call() and .apply() are used to invoke a function with a specific 'this' value, but they differ in how arguments are passed.n.call() requires arguments to be passed directly after the function,nwhile .apply() accepts an array-like object (usually an Array) as its second argument.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to use strings as array indexes using javascript?
What are the Advantages and Disadvantages of JavaScript?
What’s a way to append a value to an array?
Explain closures in javascript?
Is javascript a highly secure scripting language?
What is called variable typing in javascript?
What are ‘settimeout()’?
what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.
What is escape & unescape String functions in JavaScript?
Can an anonymous function be assigned to a variable?
java is pure object oriented or not?
I need project details about WEB CONTENT FILTERING USING NEURAL NETWORKS and how to explain it....plz help me in this topic.....