A

Admin • 833K Points
Coach

Q. 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
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.