Salesqueen Software Solution

Download Free Estimation Now Click Here
Notifications
Clear all

what is an anonymous function in javascript?

3 Posts
3 Users
0 Reactions
133 Views
Posts: 488
Topic starter
(@vishva)
Reputable Member
Joined: 2 years ago

An anonymous function in javascript.

2 Replies
Posts: 389
(@abishek)
Reputable Member
Joined: 2 years ago

The term "Anonymous Function" refers to a function that has no name. However, for anonymous functions, we only use the function keyword. Normally, when defining a function in JavaScript, we use the function keyword followed by the function name.

Reply
Posts: 522
(@kavitha-shri)
Honorable Member
Joined: 2 years ago
  • A function without a name is designated as type of Anonymous Function. To define a function in JavaScript, we typically use the function keyword followed by the function name; however, for anonymous functions, we only use the function keyword.
Reply
Share: