Answers

Question and Answer:

  Home  Expert JavaScript Developer

⟩ Describe the properties of an anonymous function in JavaScript?

A function that is declared without any named identifier is known as an anonymous function. In general, an anonymous function is inaccessible after its declaration.

Anonymous function declaration -

var anon = function() {

alert('I am anonymous');

};

anon();

 162 views

More Questions for you: