Answers

Question and Answer:

  Home  Front End Developer (AngularJS)

⟩ Explain me what is an anonymous function?

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

 234 views

More Questions for you: