Describe the properties of an anonymous function in JavaScript?

0

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();

asked Apr 14, 2023 at 19:50
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.