ExamCompetition Forum Question Papers Ask A Question Mock Test Learn & Earn Sign Up Login Menu



0 vote

When does the function name become optional in JavaScript?

Asked on by | Votes 0 | Views: 63 | Tags: computer science     | javascript     | array and function     | Add Bounty

When does the function name become optional in JavaScript?

A).  When the function is defined as a looping statement

B).  When the function is defined as expressions

C).  When the function is predefined

D).  All of the mentioned


Share on Facebook      Share on Whatsapp       Share on Twitter




1 answers

0 vote
Answered by on | Votes 0 |

 When the function is defined as expressions



The function name is optional for functions defined as expressions. A function declaration statement actually declares a variable and assigns a function object to it.

Join Telegram Group




Answer This Question

Name:
Email:
Answer :
Sum of (2+1)
Submit: