Describe the properties of an anonymous function in JavaScript?

Asked: Apr 14, 2023

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 by brijesh

Answers (0)

No answers yet. Be the first to answer!