Can you assign a anonymous function to a variable?
Answer / Anshu Prabha
Yes, you can assign an anonymous function to a variable in JavaScript using the assignment operator (=) after defining the function with the function keyword or arrow function syntax.
| Is This Answer Correct ? | 0 Yes | 0 No |
How many data types are there in javascript?
What is the use of a boolean object in javascript?
How to create array in JavaScript?
How to update a function in javascript?
What is the difference between rootscope and scope?
How to write comment in JavaScript?
Define escape() function?
How to you change the title of the page by javascript?
Is a parabola a function?
Are java and javascript same?
What companies use javascript?
What is the difference between sessionstate and viewstate?