Front End Programmer Question: Download Questions PDF
Explain what is an anonymous function?
![Front End Developer Interview Answer Front End Developer Interview Question](https://globalguideline.com/public/images/interview/6.png)
Answer:
Anonymous functions are functions without a name. They are stored in a variable and are automatically invoked (called) using the variable name.
var x = function(a, b) {
console.log(a * b)
}
x(3, 5); // 15
var x = function(a, b) {
console.log(a * b)
}
x(3, 5); // 15
Download Front End Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain what is AJAX? Write an AJAX call? | Explain why table-less layout is very important? |