1.

Explain What Is An Anonymous Function?

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

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



Discussion

No Comment Found